commit | e20cf62bbdefd48979603105d60c3a170eb2ece6 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Sun Feb 19 15:51:45 2017 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Feb 22 16:47:07 2017 +0100 |
tree | 743cad3034d25887492412ef99d29fb994571c02 | |
parent | e5ac20fd1ed479cd0e9372304bdfc5c1c3fa991d [diff] |
Fix for exception handling in decoder threads
diff --git a/common/rfb/DecodeManager.cxx b/common/rfb/DecodeManager.cxx index a655c53..ccf084f 100644 --- a/common/rfb/DecodeManager.cxx +++ b/common/rfb/DecodeManager.cxx
@@ -197,7 +197,7 @@ { os::AutoMutex a(queueMutex); - if (threadException == NULL) + if (threadException != NULL) return; threadException = new rdr::Exception("Exception on worker thread: %s", e.str());