summaryrefslogtreecommitdiff
path: root/share/scripts/_toggle_monitor_section.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-10 23:31:20 +0100
committerRobin Gareus <robin@gareus.org>2020-03-10 23:31:20 +0100
commit925be49b2d7b98734216676d14be023f57e7e6d2 (patch)
treed9ffd34effcdcccdeeeaebdcf6b88f1cd5826b90 /share/scripts/_toggle_monitor_section.lua
parentf921b4790f9e458d970db8aaefacf958c74af275 (diff)
Remove redundant collectgarbage() calls from scripts
Since 8112d6472eca garbage is automatically collected after running a Lua GUI script.
Diffstat (limited to 'share/scripts/_toggle_monitor_section.lua')
-rw-r--r--share/scripts/_toggle_monitor_section.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/share/scripts/_toggle_monitor_section.lua b/share/scripts/_toggle_monitor_section.lua
index e097a94a32..0853ef2fb4 100644
--- a/share/scripts/_toggle_monitor_section.lua
+++ b/share/scripts/_toggle_monitor_section.lua
@@ -5,6 +5,5 @@ function factory () return function ()
ARDOUR.config():set_use_monitor_bus (true)
else
ARDOUR.config():set_use_monitor_bus (false)
- collectgarbage ()
end
end end