I think I am talking about this:
http://gingerbinger.com/2010/07/actionscript-3-0-events-the-myth-of-useweakreference/
Of course the mentioned example of me is irrelevant but that doesn't
make the current use of
weak references in the system less problematic.
Would you be interested in a working group: "Remove the weak"?
yours
Martin.
On 08/02/2012 05:54, Maciek Sakrejda wrote:
Ah, I guess I should go to bed, gn8
You were right up to Flash Player 8 ;)
http://www.adobe.com/devnet/flashplayer/articles/garbage_collection.html
(that's when FP switched from ref counting to mark-and-sweep, which
avoids problems with circular references)
Still, weak references are certainly very useful when you do need
them; the framework refactoring you suggested may be worth a look.