mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
AsyncPool: ensure TLS is always cleaned on task removal, closes #3059
This commit is contained in:
parent
95dfff727e
commit
e75a08a5a3
@ -248,6 +248,7 @@ class AsyncPool{
|
||||
$this->workerUsage[$this->taskWorkers[$task->getTaskId()]]--;
|
||||
}
|
||||
|
||||
$task->removeDanglingStoredObjects();
|
||||
unset($this->tasks[$task->getTaskId()]);
|
||||
unset($this->taskWorkers[$task->getTaskId()]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user