cec: always wait for thread exit in CThread's desctructor
[deb_libcec.git] / src / lib / platform / threads / threads.h
index c730da8256743c8132f7ef69279a365aa892854d..97774b3b1ee28289952bf8af4321d891398925e8 100644 (file)
@@ -45,7 +45,7 @@ namespace PLATFORM
 
     virtual ~CThread(void)
     {
-      StopThread();
+      StopThread(0);
     }
 
     static void *ThreadHandler(CThread *thread)