Commit aadf2e96 authored by Lukáš Marek's avatar Lukáš Marek

Fixed at exit deadlock for java buffering

parent acbbf8e0
......@@ -1830,7 +1830,7 @@ static void cleanup_jb_workers(JNIEnv * jni_env) {
if(jb_initialized) {
// wait for full buffer queue to get empty
while(full_queue_size(jni_env) == 0) {
while(full_queue_size(jni_env) != 0) {
sleep(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment