1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-05-31 17:27:44 +00:00

Fixed ServerKiller always killing on shutdown on single-core machines, close

This commit is contained in:
Dylan K. Taylor 2017-05-18 15:58:09 +01:00
parent 568e2760f1
commit 0f174f7605

@ -491,6 +491,7 @@ namespace pocketmine {
$killer = new ServerKiller(8);
$killer->start();
usleep(10000); //Fixes ServerKiller not being able to start on single-core machines
$erroredThreads = 0;
foreach(ThreadManager::getInstance()->getAll() as $id => $thread){