Posts Tagged ‘memory’

object references in event handlers prevent GC

Posted in to do on March 21st, 2009 by ericsoco – 2 Comments

a bug in flash player 9 i came across today while trying to get a swf to unload completely:

if you have a reference to Keyboard or Capabilities (or, probably, a number of other native Classes as well) in an event handler, it will loiter as a pair of Class and Object references when the enclosing swf is unloaded via Loader.unload().
read more »