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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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]