*For example, if you attach a click listener
to the stage, using a weak listener, it's possible that it could be
collected before it is ever triggered.*

Of course it's possible, if the listener is not referrenced any more. But is
it just possible, not positive. And, in my test, the third mail test of mine
shows that :

1. The timer's ano handler is easy to be collected. (You can try, most time,
when killEm run, the tick stops)
2. The stage's click handler is hard to be collected. (You can try, event
after twice killEm runned, most time it is still alive)

My guess is that, the first one can be collected by simple GC strategy "The
referrence counter algorithm", the second one is more complex, so can't be
collected by that algorithm.


-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to