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

[RFC] Workaround a VSCode bug that precludes the server from exiting #21

Merged
merged 1 commit into from May 8, 2022

Conversation

artempyanykh
Copy link
Contributor

VSCode language client doesn't properly send an exit notification to the server; so when the server is restarted or the window is reloaded currently running server turns into a zombie... and after a while we have a zombie party.

I see that FSAC has its own workaround where it tries to monitor the parent process. That solution is local to the actual server and doesn't require changes in the library.

Another solution is to add a bit of logic into the library which may not be as clean, but it'd relieve the servers from needing to re-invent a workaround to the bug.

@baronfel baronfel merged commit 37ab624 into ionide:main May 8, 2022
@baronfel
Copy link
Contributor

baronfel commented May 8, 2022

Awesome stuff, thanks!

@artempyanykh artempyanykh deleted the shutdown-exit branch May 9, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants