diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
commit | 381c9c8870fad4c544f29deec22ba4be3549a731 (patch) | |
tree | f5f26e2dd380910b0ddd26e3d885d6bf56d40181 /src/threadengine_win32.cpp | |
parent | 2528dc80bd1b3e6b2c09db23eb51659e30128110 (diff) |
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
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); } - |