diff --git a/src/thread.cpp b/src/thread.cpp index 901a20b2..c98c7867 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -143,7 +143,7 @@ void Thread::wait_for_stop_or_ponderhit() { Signals.stopOnPonderhit = true; mutex.lock(); - while (!Signals.stop) sleepCondition.wait(mutex);; + while (!Signals.stop) sleepCondition.wait(mutex); mutex.unlock(); }