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

Call terminate() on Windows #196

Closed
CakeLancelot opened this issue Jan 13, 2021 · 0 comments
Closed

Call terminate() on Windows #196

CakeLancelot opened this issue Jan 13, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@CakeLancelot
Copy link
Member

CakeLancelot commented Jan 13, 2021

Gracefully save the database and terminate the server when the user Ctrl+C's or closes the window.

Reference: https://docs.microsoft.com/en-us/windows/console/registering-a-control-handler-function

@CakeLancelot CakeLancelot added the enhancement New feature or request label Jan 13, 2021
@CakeLancelot CakeLancelot changed the title Call terminate() on windows Call terminate() on Windows Jan 13, 2021
dongresource added a commit that referenced this issue Dec 17, 2021
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