diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-05 14:54:31 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-05 14:54:31 +0100 |
commit | ddd66308d67ae29b59b81bd83fe0506e4a11d08b (patch) | |
tree | be6dad87ae0fe72f5d118196be12b2f22799f164 /applause.lua | |
parent | 97df9bd48cb6d4847896377d4eefaead9e2cd75f (diff) | |
download | applause2-ddd66308d67ae29b59b81bd83fe0506e4a11d08b.tar.gz |
flush LuaJIT compiled code cache before executing commands
Diffstat (limited to 'applause.lua')
-rw-r--r-- | applause.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applause.lua b/applause.lua index 5fe77e4..dd1d78f 100644 --- a/applause.lua +++ b/applause.lua @@ -400,6 +400,11 @@ function Stream:play() -- Perform garbage collection cycle and turn it off -- temporarily. This improves the realtime properties -- of the sample generation loop below. + -- FIXME: Since stopping the garbage collector here + -- (in the Lua/C code this did not happen!?), memory + -- consumption increases constantly. Perhaps it is a + -- good idea to tweak garbage collection during the + -- generator loop. collectgarbage("collect") collectgarbage("stop") |