cec: fixed another deadlock on exit
[deb_libcec.git] / src / lib / AdapterCommunication.cpp
index 5541bf56a5381febe2a64264b897099fff2d1cc6..2bdbb04deded358fa721a2305cb254479a02f8fa 100644 (file)
@@ -328,6 +328,10 @@ void *CAdapterCommunication::Process(void)
     WriteNextCommand();
   }
 
+  CCECAdapterMessage *msg;
+  if (m_outBuffer.Pop(msg))
+    msg->condition.Broadcast();
+
   return NULL;
 }