This commit is contained in:
Marcel Pociot
2020-09-07 21:35:42 +02:00
parent e857de8498
commit 3a3dc85e72
2 changed files with 30 additions and 1 deletions

View File

@@ -60,6 +60,12 @@ class TcpControlConnection extends ControlConnection
]));
}
public function stop()
{
$this->shared_server->close();
$this->shared_server = null;
}
public function close()
{
$this->socket->close();