mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 01:39:52 +00:00
RakLibInterface: remove useless shutdown check from tick()
the thread should never be shutdown during an update cycle, because we stop the interface from being ticked when it gets shutdown.
This commit is contained in:
parent
2e75594c34
commit
eb7c31d3ff
@ -105,7 +105,7 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function tick() : void{
|
public function tick() : void{
|
||||||
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){
|
if(!$this->rakLib->isRunning()){
|
||||||
$e = $this->rakLib->getCrashInfo();
|
$e = $this->rakLib->getCrashInfo();
|
||||||
if($e !== null){
|
if($e !== null){
|
||||||
throw $e;
|
throw $e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user