diff --git a/app/signalr/hub/hub.py b/app/signalr/hub/hub.py index 91e0d48..c39df64 100644 --- a/app/signalr/hub/hub.py +++ b/app/signalr/hub/hub.py @@ -180,6 +180,7 @@ class Hub[TState: UserState]: return try: await self._clean_state(state) + del self.state[client.user_id] except Exception: ...