mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
Update main.py (#25271)
This commit is contained in:
parent
4923920bf1
commit
81d4ed79ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue