summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-11-29 12:03:18 +0100
committerRobin Gareus <robin@gareus.org>2017-11-29 12:06:42 +0100
commit77d16999b536364d9a5ef430c36d0ef0863533a7 (patch)
tree10ccb2b268577ce21cae4aa51fbe0cd5f4f4b415 /libs/ardour/session.cc
parent44cf44883927c06fd0b8277c292716ea20be4eb9 (diff)
Tweak Lua GC
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index dabd4bc187..039288952b 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -5486,7 +5486,7 @@ Session::try_run_lua (pframes_t nframes)
Glib::Threads::Mutex::Lock tm (lua_lock, Glib::Threads::TRY_LOCK);
if (tm.locked ()) {
try { (*_lua_run)(nframes); } catch (...) { }
- lua.collect_garbage_step ();
+ lua.collect_garbage_step (100 /*kB*/);
}
}