mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-09 23:39:43 +00:00
Merge branch 'stable' into next-minor
This commit is contained in:
commit
1e65ac0d85
@ -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()]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user