From: Lars Op den Kamp Date: Fri, 23 Mar 2012 09:38:20 +0000 (+0100) Subject: cec: always wait for thread exit in CThread's desctructor X-Git-Tag: upstream/2.2.0~1^2~31^2~53 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=002fa4eafd1a4c4bbdf8afb101912cb078add961;p=deb_libcec.git cec: always wait for thread exit in CThread's desctructor --- diff --git a/src/lib/platform/threads/threads.h b/src/lib/platform/threads/threads.h index c730da8..97774b3 100644 --- a/src/lib/platform/threads/threads.h +++ b/src/lib/platform/threads/threads.h @@ -45,7 +45,7 @@ namespace PLATFORM virtual ~CThread(void) { - StopThread(); + StopThread(0); } static void *ThreadHandler(CThread *thread)