Update main.py (#25271)
This commit is contained in:
1 parent
4923920bf1
commit
81d4ed79ae
1 file changed
+1
-1
@@ -805,7 +805,7 @@ async def yjs_awareness_update(sid, data):
|
|||||||
|
|
||||||
|
|
||||||
@sio.event
|
@sio.event
|
||||||
async def disconnect(sid):
|
async def disconnect(sid, reason=None):
|
||||||
if sid in SESSION_POOL:
|
if sid in SESSION_POOL:
|
||||||
user = SESSION_POOL[sid]
|
user = SESSION_POOL[sid]
|
||||||
del SESSION_POOL[sid]
|
del SESSION_POOL[sid]
|
||||||
|
|||||||
Reference in new issue
Block a user