Commit e0b040a
fix: prevent infinite SSE reconnection after shutdown
Set realtime_flags to False in _close_sse_connection() to stop
the SSE listener thread from attempting reconnection after the
client has been shut down. Without this, the check on line 2304
would still pass even after shutdown since realtime_flags remained True.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent c6d2b20 commit e0b040a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2351 | 2351 | | |
2352 | 2352 | | |
2353 | 2353 | | |
2354 | | - | |
| 2354 | + | |
2355 | 2355 | | |
2356 | 2356 | | |
2357 | 2357 | | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
2358 | 2361 | | |
2359 | 2362 | | |
2360 | 2363 | | |
| |||
0 commit comments