diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-02-19 15:51:45 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-02-22 16:47:07 +0100 |
commit | e20cf62bbdefd48979603105d60c3a170eb2ece6 (patch) | |
tree | 743cad3034d25887492412ef99d29fb994571c02 | |
parent | e5ac20fd1ed479cd0e9372304bdfc5c1c3fa991d (diff) | |
download | tigervnc-e20cf62bbdefd48979603105d60c3a170eb2ece6.tar.gz tigervnc-e20cf62bbdefd48979603105d60c3a170eb2ece6.zip |
Fix for exception handling in decoder threads
-rw-r--r-- | common/rfb/DecodeManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/DecodeManager.cxx b/common/rfb/DecodeManager.cxx index a655c53a..ccf084f7 100644 --- a/common/rfb/DecodeManager.cxx +++ b/common/rfb/DecodeManager.cxx @@ -197,7 +197,7 @@ void DecodeManager::setThreadException(const rdr::Exception& e) { os::AutoMutex a(queueMutex); - if (threadException == NULL) + if (threadException != NULL) return; threadException = new rdr::Exception("Exception on worker thread: %s", e.str()); |