Log disconnect

This commit is contained in:
Marcel Pociot 2018-12-03 11:10:02 +01:00
parent f7d7511347
commit 5303d4553c
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ class WebSocketHandler implements MessageComponentInterface
public function onClose(ConnectionInterface $connection)
{
$this->channelManager->removeFromAllChannels($connection);
DashboardLogger::disconnection($connection);
}
public function onError(ConnectionInterface $connection, Exception $exception)