From 49bf4c229f2948e07c4a5daed5f64e91dde513a0 Mon Sep 17 00:00:00 2001 From: paulfd Date: Mon, 16 Sep 2019 15:12:28 +0200 Subject: [PATCH] Garbage collection disabled in the jack client (there is a race condition as we have 2 threads and only one atomic protecting the file data, so the garbage collector could clean up the file data before the boolean is set) --- clients/jack_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/jack_client.cpp b/clients/jack_client.cpp index 7495b643..f1b90e9d 100644 --- a/clients/jack_client.cpp +++ b/clients/jack_client.cpp @@ -255,7 +255,7 @@ int main(int argc, char** argv) signal(SIGQUIT, done); while (!shouldClose){ - synth.garbageCollect(); + // synth.garbageCollect(); std::this_thread::sleep_for(1s); }