mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Remove redundant collectgarbage() calls from scripts
Since 8112d6472e garbage is automatically collected
after running a Lua GUI script.
This commit is contained in:
parent
f921b4790f
commit
925be49b2d
19 changed files with 2 additions and 50 deletions
|
|
@ -65,7 +65,6 @@ function factory (unused_params)
|
|||
LuaDialog.Message("Add LFO automation to region", "No plugin parameters found.",
|
||||
LuaDialog.MessageType.Info, LuaDialog.ButtonType.Close):run()
|
||||
region, track, targets = nil, nil, nil
|
||||
collectgarbage()
|
||||
return
|
||||
end
|
||||
|
||||
|
|
@ -85,7 +84,6 @@ function factory (unused_params)
|
|||
-- Return if the user cancelled
|
||||
if not rv then
|
||||
region, track, targets = nil, nil, nil
|
||||
collectgarbage()
|
||||
return
|
||||
end
|
||||
|
||||
|
|
@ -171,7 +169,6 @@ function factory (unused_params)
|
|||
Session:commit_reversible_command(nil)
|
||||
|
||||
region, al, lut = nil, nil, nil
|
||||
collectgarbage()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue