mirror of https://github.com/helix-editor/helix
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.pull/4887/head
parent
1d21683321
commit
e6dad960cf
Loading…
Reference in New Issue