Log disconnect
This commit is contained in:
parent
f7d7511347
commit
5303d4553c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue