Clear TableBase mappings in Search::clear()
[stockfish] / src / search.cpp
index d0bbc96..07680f1 100644 (file)
@@ -187,6 +187,7 @@ void Search::clear() {
   Time.availableNodes = 0;
   TT.clear();
   Threads.clear();
+  Tablebases::init(Options["SyzygyPath"]); // Free up mapped files
 }