Skip to content

Commit 781f24f

Browse files
committed
Do not stop search on isready
"isready" is intended for synchronization, to make sure all previous commands have been read and the engine is still alive and responsive. The UCI protocol spec explicitly states, that it can be sent during search, without stopping it. "readyok" shall be sent immediately, before the search has completed.
1 parent 6ba53d7 commit 781f24f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Uci.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ void Uci::listner(IterativeDeeping *it) {
106106
searchManager.display();
107107
} else if (token == "isready") {
108108
knowCommand = true;
109-
searchManager.setRunning(0);
110109
cout << "readyok\n";
111110
} else if (token == "uci") {
112111
knowCommand = true;

0 commit comments

Comments
 (0)