You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a way to handle KeyboardInterrupt to gracefully shutdown the app and preserve data/progress. For example the app keeps track of events and I would like to pickle them before shutting down if the app was stopped by Ctrl-c. Is there a way to do that?
The text was updated successfully, but these errors were encountered:
would second this, but ".quit_application()" doesn't seem to work for me at all. however letting the app populate with the default quit button and choosing that works every time, but unfortunately i have a function that is needed as part of the quit process.
rumps also seems to over ride my own signal handler.
I am looking for a way to handle KeyboardInterrupt to gracefully shutdown the app and preserve data/progress. For example the app keeps track of events and I would like to pickle them before shutting down if the app was stopped by Ctrl-c. Is there a way to do that?
The text was updated successfully, but these errors were encountered: