Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2019-12-03 10:45:51 +00:00
27 changed files with 175 additions and 118 deletions

View File

@ -262,6 +262,7 @@ class AsyncPool{
while(($task = $worker->unstack()) !== null){
//cancelRun() is not strictly necessary here, but it might be used to inform plugins of the task state
//(i.e. it never executed).
assert($task instanceof AsyncTask);
$task->cancelRun();
$this->removeTask($task, true);
}