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)

This commit is contained in:
paulfd 2019-09-16 15:12:28 +02:00
parent 455075ec64
commit 49bf4c229f

View file

@ -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);
}