There is no smart function that can figure out what to clean up.  You
have to design your application to clean up as it goes or clean up at
appropriate times.  Hopefully you know which listeners and other
references need to be removed.
 
Unload simply clears the ModuleManager's reference to the module.
 
-Alex

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cwolsen7905
Sent: Monday, May 14, 2007 12:37 PM
To: [email protected]
Subject: [flexcoders] Flex: Modular Applications



Hello,

I'm working on a modular application.

However it appears to me that module.unload does not do any cleanup..

It leaves behind eventlisteners and objects in the parent application.
Is there any way to get it to do propper cleanup?

-Christopher



 

Reply via email to