Removing Modules

hi,

Is there a way to remove a module once you don`t need it?
For example to load a module you require it but what if you
no longer need it? Is there a way to remove the module?

Example:
level1(module) once you complete level1 you load(require)
level2(module) but how do you remove level1(module) so that
level1 objects are no longer under level2(module) and dont
get in your way as your game continues:
PS: Thank You in advance for help and hopefully I explained this
well enough. [import]uid: 30314 topic_id: 6875 reply_id: 306875[/import]

You can’t remove a module (the code) to my knowledge. But you can make sure, that every object that was created with the functionalities of this module, will be deleted. That is a task you have to manage yourself as a coder. Corona won’t do that for you.
Cheers
Michael

http://www.whiteskygames.com
http://www.twitter.com/mhartlef [import]uid: 5712 topic_id: 6875 reply_id: 24020[/import]

[quietly hijacking thread]

pssst…hey Mike, erm, where do I find the signature link? Is that only available to subscribers? I too want a swanky sig like you :smiley:

[/]
[import]uid: 8045 topic_id: 6875 reply_id: 24038[/import]

look up director class [import]uid: 24641 topic_id: 6875 reply_id: 24064[/import]