Is there a graceful and light method to clean current running LUA env including removing all global/local values, terminating running coroutines and deleting existing temp triggers/timers?
I'm now using resetProfile() and reloadModule() to implement such operation, but I think it's so heavy that all modules/packages are reloaded.
Looking for a method to reset lua env
Re: Looking for a method to reset lua env
Just resetProfile() is available for this, it gives you a "fresh start".