mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +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