summaryrefslogtreecommitdiff
path: root/src/threadengine_win32.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-20 18:42:58 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-20 18:42:58 -0400
commit381c9c8870fad4c544f29deec22ba4be3549a731 (patch)
treef5f26e2dd380910b0ddd26e3d885d6bf56d40181 /src/threadengine_win32.cpp
parent2528dc80bd1b3e6b2c09db23eb51659e30128110 (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.cpp3
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);
}
-