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