Commit 1b7f1a2
committed
fix: improve WebSocket error handling and destroy cleanup in EventClient
- Add scheduleReconnect() call in error handler for non-browser runtimes
where 'close' may not follow 'error'
- Reset wsGaveUp, wsReconnectAttempts, wsReconnectDelay in
___destroyNetworkTransport for safe reuse1 parent 76907ad commit 1b7f1a2
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
332 | 337 | | |
333 | 338 | | |
334 | 339 | | |
| |||
575 | 580 | | |
576 | 581 | | |
577 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
578 | 586 | | |
579 | 587 | | |
580 | 588 | | |
| |||
0 commit comments