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

how to shutdown server safely? #419

Open
reymondzzzz opened this issue May 14, 2024 · 0 comments
Open

how to shutdown server safely? #419

reymondzzzz opened this issue May 14, 2024 · 0 comments

Comments

@reymondzzzz
Copy link

I have http and lsp server in one app. Http in main thread, lsp in tokio::spawn. There is signal handler for graceful-shutdown, but when I abort tokio::spawn with lsp, lsp-server doesn't shutdown. How could I do that safely?

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

No branches or pull requests

1 participant