mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-14 03:30:25 +00:00
Update main.py (#25271)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user