Agreed, however, View3D.dispose() is not cleaning things up. I have had to get the instance of Stage3DManager and call dispose on all open Stage3DProxy instances... In order to have any effect... in short I am attempting to turn on and off my view, and clean everything up. _stageMan.getStage3DProxy(0).dispose(); _stageMan.getStage3DProxy(1).dispose(); _stageMan.getStage3DProxy(2).dispose(); _stageMan.getStage3DProxy(3).dispose();
On Mar 11, 4:45 am, David Lenaerts <[email protected]> wrote: > Hi, > > Sorry for the late reply, but for various internal reasons, > Stage3DProxy.dispose() is invoked when the View3D object is removed from the > stage (which is something you would normally do before disposing the view > anyway). > > Hope that helps, > David > > On Tue, Mar 8, 2011 at 11:00 PM, Brian Bosak > <[email protected]>wrote: > > > > > Reminds me of .NET. > > > -----Original Message----- From: travisrimel Sent: Monday, March 07, 2011 > > 9:31 AM To: Away3D.dev Subject: [away3d] Re: dispose() > > To add... > > > View3D.dispose calls _renderer.dispose which simply states > > stage3DProxy = null; > > On the Stage3DProxy class I see a dispose method which appears to > > clean up context3D, however it does not appear as this is integrated > > yet? > > > On Mar 7, 9:23 am, travisrimel <[email protected]> wrote: > > >> Curious how 4.0 will handle cleanup, I see a handful of 'dispose' > >> methods... but have had no luck with View3D.dispose(); > > -- > David Lenaerts > Flash platform developerhttp://www.derschmale.com
