mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
AsyncPool: isCrashed() now returns true when a fatal error occurred
the fix for chunks earlier didn't fix...
This commit is contained in:
parent
d6d98183ea
commit
5a7e575c3a
@ -80,7 +80,7 @@ abstract class AsyncTask extends Collectable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function isCrashed() : bool{
|
public function isCrashed() : bool{
|
||||||
return $this->crashed;
|
return $this->crashed or $this->isTerminated();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user