From 383df298a6021d16d0e0543e07431f88fe96b050 Mon Sep 17 00:00:00 2001 From: 3DO2 - BlocksAndGold Date: Sun, 13 Nov 2016 11:11:15 +0100 Subject: [PATCH] fix crash at server stop when RCON is enable (#101) --- src/pocketmine/network/rcon/RCON.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/network/rcon/RCON.php b/src/pocketmine/network/rcon/RCON.php index b32e53c4d..978c76cad 100644 --- a/src/pocketmine/network/rcon/RCON.php +++ b/src/pocketmine/network/rcon/RCON.php @@ -70,7 +70,7 @@ class RCON{ for($n = 0; $n < $this->threads; ++$n){ $this->workers[$n]->close(); Server::microSleep(50000); - $this->workers[$n]->kill(); + $this->workers[$n]->quit(); } @socket_close($this->socket); $this->threads = 0;