Update main.py (#25271)

This commit is contained in:
Classic298
2026-05-31 23:48:51 +02:00
committed by GitHub
parent 4923920bf1
commit 81d4ed79ae
+1 -1
View File
@@ -805,7 +805,7 @@ async def yjs_awareness_update(sid, data):
@sio.event
async def disconnect(sid):
async def disconnect(sid, reason=None):
if sid in SESSION_POOL:
user = SESSION_POOL[sid]
del SESSION_POOL[sid]