From 99ef3e6576b4db75615433af49ee015662380149 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 18 Feb 2018 11:52:55 +0000 Subject: [PATCH] RakLibInterface: don't self-unregister from Network on crash This is already done by the Network itself. --- src/pocketmine/network/mcpe/RakLibInterface.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/network/mcpe/RakLibInterface.php b/src/pocketmine/network/mcpe/RakLibInterface.php index 442efd265..62bcff759 100644 --- a/src/pocketmine/network/mcpe/RakLibInterface.php +++ b/src/pocketmine/network/mcpe/RakLibInterface.php @@ -92,8 +92,6 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{ } if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){ - $this->network->unregisterInterface($this); - throw new \Exception("RakLib Thread crashed"); }