Sorry, this is a known issue.  You can try turning off
historyManagementEnabled.

 

-Alex

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Russell Munro
Sent: Tuesday, March 20, 2007 9:48 PM
To: [email protected]
Subject: [flexcoders] Cant unload module .swf if it contains a
ViewStack?? please help

 

Hello, I discovered that if a module (create with the Module tag)
contains a view stack component, it will not be garbage collected after
unloading. Last night I could not get a modules to unload but after much
toiling I managed to boil it down to one thing: if the module contains a
viewStack component the module will not get garbage collected. 
 
I know this sound silly so I have created some example code:
http://www.corbell.com.au/docs/moduleViewStackExample.zip
<http://www.corbell.com.au/docs/moduleViewStackExample.zip>  

In this example one module contains a view stack component, the other
(blank) does not. You will need to look at the trace output to see that
after opening and closing the pop-ups (do it a few times) only the
ModuleBlank.swf will get unloaded & garbage collected. As should be
evident by the [Unload SWF] output by the system.
 
What is going on here? I Would very much a! ppreciate some help with
this, I hate to say bug, but it seems that way.


Thanks,

Russell Munro

 

Reply via email to