]> source.dussan.org Git - tigervnc.git/commitdiff
Fix for exception handling in decoder threads (java client)
authorBrian P. Hinz <bphinz@users.sf.net>
Mon, 27 Feb 2017 01:58:12 +0000 (20:58 -0500)
committerBrian P. Hinz <bphinz@users.sf.net>
Tue, 28 Feb 2017 01:16:35 +0000 (20:16 -0500)
java/com/tigervnc/rfb/DecodeManager.java

index 9e254ad20253cf12cf1c3b99c31121da8bf1da25..7e2aedf63394142dc257a6412920e11e6a8564a5 100644 (file)
@@ -185,7 +185,7 @@ public class DecodeManager {
     //os::AutoMutex a(queueMutex);
     queueMutex.lock();
 
-    if (threadException == null)
+    if (threadException != null)
       return;
 
     threadException =