Repository navigation
Commit 399c502
authored
fix: resolve pending waits when WebSocket disconnects (#38)
fix: resolve pending Phase-2 waits on WebSocket disconnect
Extract _resolve_pending_waits() from _handle_error() and also call it
in _receive_messages() finally block so that WS disconnects during the
initial-state phase surface immediately instead of timing out after 30s.1 parent 3bb4129 commit 399c502
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
| 371 | + | |
377 | 372 | | |
378 | 373 | | |
379 | 374 | | |
380 | | - | |
| 375 | + | |
381 | 376 | | |
382 | 377 | | |
383 | 378 | | |
384 | 379 | | |
385 | | - | |
| 380 | + | |
386 | 381 | | |
387 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| |||
0 commit comments