----- Original Message ----- From: "Steven Sacks" <[EMAIL PROTECTED]>
To: "Flash Coders List" <[email protected]>
Sent: Saturday, August 02, 2008 1:45 PM
Subject: Re: [Flashcoders] AS3 Destructors and Garbage Collection ...


It's a dangerous business removing instances when there are still references to them. Check out as3 weak references.

So dangerous that you can't do it.  ;)

LOL, absolutely.

I once worked as a developer using C++ on a project for two years. Our biggest problem was dangling references to objects that were temporaries and reused. So I think that Actionscript devlopers sometimes have rose tinted glasses when looking at forced garbage collection.

Mind you, I'm not sure very many actionscript developers have worked for two years on a project.. ;-)

The Flash 10 Player has a function to force the GC to run, btw.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to