diff --git a/simgear/threads/SGThread.cxx b/simgear/threads/SGThread.cxx index c5686e51..cdb16592 100644 --- a/simgear/threads/SGThread.cxx +++ b/simgear/threads/SGThread.cxx @@ -495,6 +495,8 @@ SGExclusiveThread::SGExclusiveThread() : void SGExclusiveThread::terminate() { _terminated = true; + release(); + join(); } bool SGExclusiveThread::stop() {