Commit 1973981
fix: reject pending LSP requests when server closes unexpectedly
When an LSP server dies before responding, _read_stdout hits EOF and
exits silently, leaving pending request Futures unresolved and callers
(e.g. process.stop()'s send.shutdown()) hung forever. Caught by Zuban on
Linux CI: pool.cleanup() hung the Tests workflow for 20 minutes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fb8b267 commit 1973981
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
322 | 333 | | |
323 | 334 | | |
324 | 335 | | |
| |||
0 commit comments