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

Attempt to cleanup server resources on shutdown #729

Merged
merged 3 commits into from
Feb 10, 2024

Conversation

alcarney
Copy link
Member

With this PR esbonio will now attempt to close down all Sphinx processes, HTTP/WS servers etc upon receiving a shutdown request from the client.

Note, due to openlawlibrary/pygls#433 this is likely not enough to guarantee a clean shutdown (especially as the number of resources increase) but it's a start

This is likely not enough to fully resolve the shutdown issue (as that
requires a fix in `pygls`[1]) but at least now the server will make an
attempt to shut itself down.

[1]: openlawlibrary/pygls#433
@alcarney alcarney merged commit 5244a59 into swyddfa:develop Feb 10, 2024
12 of 13 checks passed
@alcarney alcarney deleted the clean-shutdown branch February 10, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant