diff --git a/core/logic/ThreadSupport.cpp b/core/logic/ThreadSupport.cpp index e2bbdbee..315afb5c 100644 --- a/core/logic/ThreadSupport.cpp +++ b/core/logic/ThreadSupport.cpp @@ -376,6 +376,7 @@ void CompatThread::Run() // There should be no handles outstanding, so it's safe to self-destruct. thread_->detach(); delete this; + return; } lock.lock();