X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=7a0ead60c09de931b0275470501fdbae30c33e9c;hp=b7127b758153c9fd008563f2f7412a5802ebdfad;hb=26dabb1e6bcd8035f0f3516c4358a73f2b041a1c;hpb=35b6079852ca2b1a12167e4b42b197501d2cc554;ds=inline diff --git a/src/uci.cpp b/src/uci.cpp index b7127b75..7a0ead60 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -205,7 +205,7 @@ void UCI::loop(int argc, char* argv[]) { } while (token != "quit" && argc == 1); // Passed args have one-shot behaviour - Threads.wait_for_think_finished(); // Cannot quit whilst the search is running + Threads.main()->join(); // Cannot quit whilst the search is running }