Added Lua garbage collector calls

This commit is contained in:
Luca Deri 2024-02-13 15:00:10 +01:00
parent c78ba0d93e
commit f9f2a464ff
9 changed files with 13 additions and 18 deletions

View file

@ -2213,4 +2213,6 @@ require "lua_utils_gui"
if(trace_script_duration ~= nil) then
io.write(debug.getinfo(1,'S').source .." executed in ".. (os.clock()-clock_start)*1000 .. " ms\n")
io.write(string.format("Lua memory: = %s\n", collectgarbage("count")))
end