diff --git a/src/WebSockets/WebSocketHandler.php b/src/WebSockets/WebSocketHandler.php index 7c49957..9efb3b7 100644 --- a/src/WebSockets/WebSocketHandler.php +++ b/src/WebSockets/WebSocketHandler.php @@ -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)