Do you suggest to invoke a timer.stop() before unloading? Shoud this solve the problem? I'm not sure but i'll try!
What event can I catch to invoke timer.stop()? It's an internal object of the module and the module doesn't know when are about to be unloaded! Thanks! Gregor Kiddie wrote: > > Well, you've answered your own question... the module is still alive > because it's still alive. There is a Timer object still running and > firing events. You need to make sure that anything of that nature is > stopped before it can be unloaded. > > > > Gk. > > Gregor Kiddie > Senior Developer > INPS > > Tel: 01382 564343 > > Registered address: The Bread Factory, 1a Broughton Street, London SW8 > 3QJ > > Registered Number: 1788577 > > Registered in the UK > > Visit our Internet Web site at www.inps.co.uk > <blocked::http://www.inps.co.uk/> > > The information in this internet email is confidential and is intended > solely for the addressee. Access, copying or re-use of information in it > by anyone else is not authorised. Any views or opinions presented are > solely those of the author and do not necessarily represent those of > INPS or any of its affiliates. If you are not the intended recipient > please contact is.helpd...@inps.co.uk > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Fuzzo > Sent: 25 June 2009 08:38 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] ModuleLoader does not unload anything :( > > > > > > > > > > Hi all! > > I'm writing a modular application that loads a module. This module > inside > has a Timer that trace something every 5 seconds. > When from application i "exit" (unload) the module, i have no error but > i > see the writing done by the module that should be unloaded! > > It means that the module is alive? How can i "destory" the module and > all > it's children for sure? > > Thanks a lot! > > P.S.: I tried both ModuleLoader and ModuleManager with the same beaviour > :( > > -- > View this message in context: > http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp241 > 86501p24186501.html > <http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp24 > 186501p24186501.html> > Sent from the FlexCoders mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp24186501p24203118.html Sent from the FlexCoders mailing list archive at Nabble.com.