mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 03:47:16 +00:00
fix crash at server stop when RCON is enable (#101)
This commit is contained in:
parent
7314aaf7f7
commit
383df298a6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user