aboutsummaryrefslogtreecommitdiff
path: root/src/threadengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threadengine.cpp')
-rw-r--r--src/threadengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadengine.cpp b/src/threadengine.cpp
index 82aa78a36..bb686f084 100644
--- a/src/threadengine.cpp
+++ b/src/threadengine.cpp
@@ -26,7 +26,7 @@ void Thread::SetExitFlag()
void Thread::join()
{
- state.FreeThread(this);
+ ServerInstance->Threads.Stop(this);
}
/** If this thread has a Creator set, call it to