From: Lars Op den Kamp Date: Mon, 23 Jan 2012 15:53:07 +0000 (+0100) Subject: cec: reset m_bStop to false in CreateThread() X-Git-Tag: upstream/2.2.0~1^2~39^2~23 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4fe8d858f161384e8f808751c47d0e7e541b3adb;p=deb_libcec.git cec: reset m_bStop to false in CreateThread() --- diff --git a/src/lib/platform/threads/threads.h b/src/lib/platform/threads/threads.h index 74d683f..7fea602 100644 --- a/src/lib/platform/threads/threads.h +++ b/src/lib/platform/threads/threads.h @@ -87,6 +87,7 @@ namespace PLATFORM CLockObject lock(m_threadMutex); if (!IsRunning()) { + m_bStop = false; if (ThreadsCreate(m_thread, CThread::ThreadHandler, ((void*)static_cast(this)))) { if (bWait)