Remove redundant collectgarbage() calls from scripts

Since 8112d6472e garbage is automatically collected
after running a Lua GUI script.
This commit is contained in:
Robin Gareus 2020-03-10 23:31:20 +01:00
parent f921b4790f
commit 925be49b2d
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
19 changed files with 2 additions and 50 deletions

View file

@ -42,9 +42,4 @@ function factory () return function ()
end
LuaDialog.Message ("All Plugins", "<span face=\"mono\">" .. rv .. "</span>", LuaDialog.MessageType.Info, LuaDialog.ButtonType.Close):run()
all_plugs = nil
rv = ""
collectgarbage ();
end end