manual garbage collection should be in plugin or in main script?

Posted by Unia_nt on Sun 21 Feb 2016 11:50 AM — 3 posts, 13,014 views.

#0
I would like to run garbage collection manually with a timer, it should be in plugin or in main lua script? which option would be better? Thanks.
Australia Forum Administrator #1
Each plugin has its own script space. To garbage-collect the main script space you need to do it there. You could just make a timer that does it (with send-to-script).
#2
Got it, thanks Nick!