New Task scheduler

This commit is contained in:
Shoghi Cervantes
2014-03-27 22:16:09 +01:00
parent 9a2934b85b
commit 926afa3903
15 changed files with 344 additions and 1240 deletions

View File

@ -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();