mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Use \pocketmine\Thread::getThreadName() instead (#6)
This commit is contained in:
parent
a7366324e5
commit
9a379734ba
@ -466,7 +466,7 @@ namespace pocketmine {
|
||||
$logger->info("Stopping other threads");
|
||||
|
||||
foreach(ThreadManager::getInstance()->getAll() as $id => $thread){
|
||||
$logger->debug("Stopping " . (new \ReflectionClass($thread))->getShortName() . " thread");
|
||||
$logger->debug("Stopping " . $thread->getThreadName() . " thread");
|
||||
$thread->quit();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user