mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Detach invalid Workers on shutdown
This commit is contained in:
parent
973d6b5869
commit
9f34d22013
@ -355,7 +355,8 @@ namespace pocketmine {
|
|||||||
$thread->detach();
|
$thread->detach();
|
||||||
}elseif($thread instanceof Worker){
|
}elseif($thread instanceof Worker){
|
||||||
$thread->shutdown();
|
$thread->shutdown();
|
||||||
$thread->join();
|
$thread->kill();
|
||||||
|
$thread->detach();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user