Commit 1fce2fd
fix: clean up SSE session on client disconnect
Remove session from _read_stream_writers when a client disconnects
from the SSE endpoint. Previously, stale session entries accumulated
indefinitely, causing issues after server reloads where old session
IDs would still be found in the dict (but with closed streams).
Fixes #423
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 62575ed commit 1fce2fd
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
0 commit comments