diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-10 23:31:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-10 23:31:20 +0100 |
commit | 925be49b2d7b98734216676d14be023f57e7e6d2 (patch) | |
tree | d9ffd34effcdcccdeeeaebdcf6b88f1cd5826b90 /share/scripts/_sort_tracks_by_name.lua | |
parent | f921b4790f9e458d970db8aaefacf958c74af275 (diff) |
Remove redundant collectgarbage() calls from scripts
Since 8112d6472eca garbage is automatically collected
after running a Lua GUI script.
Diffstat (limited to 'share/scripts/_sort_tracks_by_name.lua')
-rw-r--r-- | share/scripts/_sort_tracks_by_name.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/share/scripts/_sort_tracks_by_name.lua b/share/scripts/_sort_tracks_by_name.lua index 36dfdc970c..39e0a458b1 100644 --- a/share/scripts/_sort_tracks_by_name.lua +++ b/share/scripts/_sort_tracks_by_name.lua @@ -29,8 +29,4 @@ function factory () return function () t:set_presentation_order(pos) pos = pos + 1 end - - -- drop all track references - tracklist = nil - collectgarbage () end end |