From b14dfa9f7e446262f73ca32759b66a39578a636a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 7 May 2018 10:05:05 +0100 Subject: [PATCH] RCONInstance: Remove pointless code that makes pthreads segfault pthreads doesn't play well with resources, and this code upsets it. Also, this code is utterly pointless. The whole of RCON needs burning to the ground... --- src/pocketmine/network/rcon/RCONInstance.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/network/rcon/RCONInstance.php b/src/pocketmine/network/rcon/RCONInstance.php index 54ef16523..079eae6c8 100644 --- a/src/pocketmine/network/rcon/RCONInstance.php +++ b/src/pocketmine/network/rcon/RCONInstance.php @@ -193,8 +193,6 @@ class RCONInstance extends Thread{ } } } - unset($this->socket, $this->cmd, $this->response, $this->stop); - exit(0); } public function getThreadName() : string{