Merge branch 'master' of github.com:Pulse-Eight/libcec
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.cpp
index ac66d04423087c795a3fa25fe0b4eeba8e9e2b1b..8f3bb7f0bef62dde35165454f35b4c13061ee122 100644 (file)
@@ -216,6 +216,7 @@ bool CUSBCECAdapterCommunication::Open(IAdapterCommunicationCallback *cb, uint32
       delete m_port;
       m_port = NULL;
       CLibCEC::AddLog(CEC_LOG_ERROR, "could not create a communication thread");
+      return false;
     }
   }
   else