Commit c2a79b8
Mark client as disconnected on connection close/error
Instead of leaving onClose/onError as no-ops (which would leave the
client in a stale 'connected' state), transition to 'disconnected'
so callers fail fast or can re-start cleanly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d1d733c commit c2a79b8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | | - | |
| 1413 | + | |
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
| 1417 | + | |
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
| |||
0 commit comments