X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=2dcbf91093dc7379d0281ccae235838d9c99f031;hp=6fefd58a792b9225d7a121bf102e38e18a8850fc;hb=cc6c745b543e0cd94dea82deeed25572227f98ab;hpb=d033d5e06a604f601b157cb3d2a8450c5dc00474 diff --git a/src/thread.cpp b/src/thread.cpp index 6fefd58a..2dcbf910 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -432,6 +432,8 @@ void ThreadsManager::start_searching(const Position& pos, const LimitsType& limi const std::set& searchMoves) { wait_for_search_finished(); + SearchTime.restart(); // As early as possible + Signals.stopOnPonderhit = Signals.firstRootMove = false; Signals.stop = Signals.failedLowAtRoot = false;