diff options
Diffstat (limited to 'common')
-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()); |