Permalink
Browse files

fix bug in 'stop' on search

  • Loading branch information...
gekomad
gekomad committed Aug 22, 2016
1 parent 9cb37bc commit fb5f7728fa07e04f5804c4a48a67847a99f91f3f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Uci.cpp
View
@@ -98,6 +98,7 @@ void Uci::listner(IterativeDeeping *it) {
knowCommand = true;
searchManager.setRunning(false);
stop = true;
+ while (it->getRunning());
} else if (token == "ponderhit") {
knowCommand = true;
searchManager.startClock();

0 comments on commit fb5f772

Please sign in to comment.