mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 12:48:32 +00:00
RakLibInterface: don't self-unregister from Network on crash
This is already done by the Network itself.
This commit is contained in:
parent
eeaf75ac85
commit
99ef3e6576
@ -92,8 +92,6 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){
|
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){
|
||||||
$this->network->unregisterInterface($this);
|
|
||||||
|
|
||||||
throw new \Exception("RakLib Thread crashed");
|
throw new \Exception("RakLib Thread crashed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user