mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Possible fix for crashing server not stopping
This commit is contained in:
@ -144,7 +144,7 @@ class ServerScheduler{
|
||||
}
|
||||
$this->tasks = [];
|
||||
$this->asyncTaskStorage = [];
|
||||
$this->asyncPool->shutdown();
|
||||
//$this->asyncPool->shutdown();
|
||||
$this->asyncTasks = 0;
|
||||
$this->queue = new ReversePriorityQueue();
|
||||
$this->asyncPool = new \Pool(self::$WORKERS, AsyncWorker::class);
|
||||
|
Reference in New Issue
Block a user