Treat input thread as the non-blocking it is

This commit is contained in:
2025-12-13 00:55:09 +00:00
parent ce06ca8057
commit d5f5dd21b0

View File

@@ -152,7 +152,8 @@ int main(int argc, char *argv[]) {
std::this_thread::sleep_for(std::chrono::milliseconds(8));
}
input_thread.detach();
if (input_thread.joinable())
input_thread.join();
if (work_thread.joinable())
work_thread.join();