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

Ensure server always exits safely #1

Open
kegsmr opened this issue Aug 14, 2023 · 0 comments
Open

Ensure server always exits safely #1

kegsmr opened this issue Aug 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kegsmr
Copy link
Owner

kegsmr commented Aug 14, 2023

At the moment there's no safe way to shutdown the server. So far it hasn't caused any problems, but there is a chance that the server could be in the middle of an important operation when the process is killed.

The best way to ensure the server always exits safely might be to handle the keyboard interrupt and have it trigger the server to cleanup and shutdown.

Note: pretty sure the keyboard interrupt wouldn't work on Windows distributions, but that seems like a Windows problem...

@kegsmr kegsmr added the enhancement New feature or request label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant