From 6dda78f66b7a5be3da21ea6b247cdc632c4ceab8 Mon Sep 17 00:00:00 2001 From: Quinniboi10 <69563433+Quinniboi10@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:11:21 -0600 Subject: [PATCH] Bugfix, cleanup --- main.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/main.cpp b/main.cpp index 08d12c4..42aa61a 100644 --- a/main.cpp +++ b/main.cpp @@ -4,8 +4,8 @@ #include #include #include -#include #include +#include #define ctzll(x) ((x) ? _tzcnt_u64(x) : 64) #define clzll(x) ((x) ? __lzcnt64(x) : 64) @@ -1728,7 +1728,7 @@ int main() { Board currentPos; currentPos.reset(); std::atomic breakFlag(false); - cout << "Bot ready and awaiting commands" << endl; + cout << "Forsaken is ready and awaiting commands" << endl; while (true) { std::getline(std::cin, command); @@ -1762,12 +1762,6 @@ int main() { } else if (command == "quit") { breakFlag.store(true); - // Ensure the search thread is joined before exiting - if (searchThreadOpt.has_value()) { - if (searchThreadOpt->joinable()) { - searchThreadOpt->join(); - } - } return 0; } else if (command == "debug.gamestate") {