Merge pull request #1038 from takase1121/PR/scale-step-gc

run GC between scale to prevent ram from exploding
This commit is contained in:
Jefferson González authored and GitHub committed 2022-06-16 03:04:53 -04:00
commit 3dadbd3a49
1 file changed
+2
+2
View File
@@ -108,10 +108,12 @@ end
local function inc_scale()
set_scale(current_scale + scale_steps)
collectgarbage "step"
end
local function dec_scale()
set_scale(current_scale - scale_steps)
collectgarbage "step"
end