mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 04:00:29 +00:00
Merge branch 'stable' into next-minor
This commit is contained in:
@@ -248,6 +248,7 @@ class AsyncPool{
|
|||||||
$this->workerUsage[$this->taskWorkers[$task->getTaskId()]]--;
|
$this->workerUsage[$this->taskWorkers[$task->getTaskId()]]--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$task->removeDanglingStoredObjects();
|
||||||
unset($this->tasks[$task->getTaskId()]);
|
unset($this->tasks[$task->getTaskId()]);
|
||||||
unset($this->taskWorkers[$task->getTaskId()]);
|
unset($this->taskWorkers[$task->getTaskId()]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user