diff --git a/src/search.cpp b/src/search.cpp index 50f5939d..340d993a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1425,7 +1425,7 @@ void Thread::idle_loop() { while (!exit) { // If this thread has been assigned work, launch a search - if (searching) + while (searching) { Threads.mutex.lock();