fix crash at server stop when RCON is enable (#101)

This commit is contained in:
3DO2 - BlocksAndGold 2016-11-13 11:11:15 +01:00 committed by Dylan K. Taylor
parent 7314aaf7f7
commit 383df298a6

View File

@ -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;