Call terminate() on Windows
CakeLancelot opened this issue · 0 comments
CakeLancelot commented
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