From 40cb30b6a576ecdcf446377b755ed70a87b9be28 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 20 Aug 2013 19:29:29 +0200 Subject: Small Linux fixes. --- source/OSSupport/IsThread.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/OSSupport/IsThread.cpp') diff --git a/source/OSSupport/IsThread.cpp b/source/OSSupport/IsThread.cpp index 45e329a68..1fadb3769 100644 --- a/source/OSSupport/IsThread.cpp +++ b/source/OSSupport/IsThread.cpp @@ -147,6 +147,7 @@ bool cIsThread::Wait(void) int res = pthread_join(m_Handle, NULL); m_Handle = NULL; LOGD("Thread %s finished", m_ThreadName.c_str()); + m_HasStarted = false; return (res == 0); #endif // else _WIN32 } -- cgit v1.2.3