Browse Source

Fix for exception handling in decoder threads

tags/v1.7.90
Pierre Ossman 7 years ago
parent
commit
e20cf62bbd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      common/rfb/DecodeManager.cxx

+ 1
- 1
common/rfb/DecodeManager.cxx View File

@@ -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());

Loading…
Cancel
Save