AsyncPool: isCrashed() now returns true when a fatal error occurred

the fix for chunks earlier didn't fix...
This commit is contained in:
Dylan K. Taylor 2018-08-03 20:06:41 +01:00
parent d6d98183ea
commit 5a7e575c3a

View File

@ -80,7 +80,7 @@ abstract class AsyncTask extends Collectable{
}
public function isCrashed() : bool{
return $this->crashed;
return $this->crashed or $this->isTerminated();
}
/**