Restore thread counter (world may be not ready yet)

Remove dumb 1300ms timeout.
This commit is contained in:
Nekotekina 2020-02-25 11:43:04 +03:00
parent cd40bc8c61
commit 7eebe06931
4 changed files with 19 additions and 3 deletions

View file

@ -630,9 +630,6 @@ void cpu_thread::stop_all() noexcept
std::this_thread::sleep_for(10ms);
}
// Workaround for remaining threads (TODO)
std::this_thread::sleep_for(1300ms);
sys_log.notice("All CPU threads have been stopped.");
}