Hey Brian, I didn't actualy belive that it would work but now I'am
100% sure of that, not 99% :)
 Just had to check to "rest in peace"...


On 6 Sty, 02:30, "Brian Bosak" <[email protected]> wrote:
> ?"As somebody in past wrote that System.gc() will clean only instances
> of native flash classes"
> I believe that "native flash classes" would refer to official components of
> the ActionScript language made and signed by Adobe, which are in some cases
> used for 'native' interop with the browser/operating system. Modifying your
> classes to be within the flash namespace doesn't grant them additional
> privileges/make them native. If this approach worked; it would be a major
> security vulnerability in Flash, as any class within the Flash namespace
> would be able to communicate with native code!
>
> Also; the System.gc() method only works in a debugger; according to official
> Flash documentation:
> "For the Flash Player debugger version and AIR applications 
> only".http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/s...()
>
> -----Original Message-----
> From: macgor
> Sent: Wednesday, January 05, 2011 5:15 PM
> To: Away3D.dev
> Subject: [away3d] Garbage Collector -badnews
>
> Hi Everybody,
>
> No good news... but I wanted to share my experiment.
>
> As somebody in past wrote that System.gc() will clean only instances
> of native flash classes, I decided to make experiment:
>
> I have modificated Away3D source, so after mod I could do in my
> project something like that:
>
> import flash.away3d.[className]
>
> hopeing that Flashplayer will collect my "null meshes"....
>
> Project compiled well but gc() still doesnt collect what I need.
>
> Anybody found solution for memory leak?
>
> Regards,
>
> MG

Reply via email to