Once I load a module by “requiring” it (widget, physics, etc.), how can I release it when I am done with it (so that it isn’t taking up resources)? [import]uid: 135391 topic_id: 34829 reply_id: 334829[/import]
Here’s a post that may be of use:
http://www.coronalabs.com/blog/2011/09/05/a-better-approach-to-external-modules/ [import]uid: 70847 topic_id: 34829 reply_id: 138438[/import]
package.loaded[‘your-module-name’] = nil [import]uid: 61899 topic_id: 34829 reply_id: 138466[/import]
Here’s a post that may be of use:
http://www.coronalabs.com/blog/2011/09/05/a-better-approach-to-external-modules/ [import]uid: 70847 topic_id: 34829 reply_id: 138438[/import]
package.loaded[‘your-module-name’] = nil [import]uid: 61899 topic_id: 34829 reply_id: 138466[/import]