mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 21:27:14 +00:00
Merge commit 'db147fe2586527a854516016699949af53dc5b17' into cluster
This is the last commit before there are more conflicts.
This commit is contained in:
@@ -166,6 +166,9 @@ void ThreadPool::clear() {
|
||||
for (Thread* th : threads)
|
||||
th->worker->clear();
|
||||
|
||||
if (threads.size() == 0)
|
||||
return;
|
||||
|
||||
main_manager()->callsCnt = 0;
|
||||
main_manager()->bestPreviousScore = VALUE_INFINITE;
|
||||
main_manager()->bestPreviousAverageScore = VALUE_INFINITE;
|
||||
|
||||
Reference in New Issue
Block a user