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:
parent
455075ec64
commit
49bf4c229f
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ int main(int argc, char** argv)
|
||||||
signal(SIGQUIT, done);
|
signal(SIGQUIT, done);
|
||||||
|
|
||||||
while (!shouldClose){
|
while (!shouldClose){
|
||||||
synth.garbageCollect();
|
// synth.garbageCollect();
|
||||||
std::this_thread::sleep_for(1s);
|
std::this_thread::sleep_for(1s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue