Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drain pending requests on language server termination (helix-editor#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.
- Loading branch information