diff options
Diffstat (limited to 'src/threadengine_win32.cpp')
-rw-r--r-- | src/threadengine_win32.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/threadengine_win32.cpp b/src/threadengine_win32.cpp index 5ee2f4596..54db9529a 100644 --- a/src/threadengine_win32.cpp +++ b/src/threadengine_win32.cpp @@ -8,9 +8,7 @@ static DWORD WINAPI entry_point(void *parameter) Thread *thread = static_cast<Thread *>(parameter); thread->Run(); if (!thread->GetExitState()) - { thread->Join(); - } delete thread; return 0; } @@ -106,4 +104,3 @@ void Condition::Wait() WaitForSingleObject(cond, INFINITE); EnterCriticalSection(&mutex); } - |