From 254a56437d9109b084c0a1c62a7346b80b993d46 Mon Sep 17 00:00:00 2001 From: MingxuanGame Date: Fri, 22 Aug 2025 16:59:10 +0000 Subject: [PATCH] fix(signalr): delete state when cleaning state --- app/signalr/hub/hub.py | 1 + 1 file changed, 1 insertion(+) 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: ...