mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Detach invalid Workers on shutdown
This commit is contained in:
@ -355,7 +355,8 @@ namespace pocketmine {
|
||||
$thread->detach();
|
||||
}elseif($thread instanceof Worker){
|
||||
$thread->shutdown();
|
||||
$thread->join();
|
||||
$thread->kill();
|
||||
$thread->detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user