Looking for a method to reset lua env
Posted: Fri Oct 23, 2020 3:13 am
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.
I'm now using resetProfile() and reloadModule() to implement such operation, but I think it's so heavy that all modules/packages are reloaded.