From adbd1c7bed241429f5a375b705150b40260bb526 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 6 Oct 2018 14:44:56 +0100 Subject: [PATCH] RCON: remove redundant sleep this dates back to the days where PM used to kill threads to stop them. Today we're more civilized and ask it to stop nicely, so this isn't necessary anymore. --- src/pocketmine/network/rcon/RCON.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pocketmine/network/rcon/RCON.php b/src/pocketmine/network/rcon/RCON.php index 624045789..743e903ec 100644 --- a/src/pocketmine/network/rcon/RCON.php +++ b/src/pocketmine/network/rcon/RCON.php @@ -85,7 +85,6 @@ class RCON{ public function stop(){ $this->instance->close(); socket_write($this->ipcMainSocket, "\x00"); //make select() return - Server::microSleep(50000); $this->instance->quit(); @socket_close($this->socket);