cec: always wait for thread exit in CThread's desctructor
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 23 Mar 2012 09:38:20 +0000 (10:38 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 23 Mar 2012 09:38:20 +0000 (10:38 +0100)
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)