Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drain pending requests on language server termination #4852

Merged

Commits on Nov 22, 2022

  1. Drain pending requests on language server termination

    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.
    the-mikedavis committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    bfc618b View commit details
    Browse the repository at this point in the history