mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
New Task scheduler
This commit is contained in:
@ -673,7 +673,9 @@ class Server{
|
||||
$level->unload(true);
|
||||
}
|
||||
|
||||
$this->scheduler->shutdown();
|
||||
$this->scheduler->cancelAllTasks();
|
||||
$this->scheduler->mainThreadHeartbeat(PHP_INT_MAX);
|
||||
|
||||
$this->tickScheduler->kill();
|
||||
$this->console->kill();
|
||||
|
||||
|
Reference in New Issue
Block a user