helix-mods/helix-lsp
Michael Davis e6dad960cf
Drain pending requests on language server termination (#4852)
This prevents a freeze while shutting down when using `efm-langserver`.
`efm-langserver` exits immediately after seeing a shutdown request,
without responding to the request. We block awaiting the reply to the
shutdown request which will never come, so we time out.

This change responds to any pending requests with `Err` saying that the
stream has been closed.
2022-11-24 11:07:42 +09:00
..
src Drain pending requests on language server termination (#4852) 2022-11-24 11:07:42 +09:00
Cargo.toml build(deps): bump tokio from 1.21.2 to 1.22.0 (#4846) 2022-11-22 13:24:37 -06:00