mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
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.
This commit is contained in:
parent
d75c830a7e
commit
adbd1c7bed
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user