mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
[#2146] Cleanup On CtrlC
This commit is contained in:
parent
c10afa6e68
commit
840dd54faf
@ -2365,6 +2365,9 @@ sys.path: {sys.path}'''
|
||||
# Check for FDEV IDs
|
||||
root.after(3, check_fdev_ids)
|
||||
# Start the main event loop
|
||||
root.mainloop()
|
||||
|
||||
try:
|
||||
root.mainloop()
|
||||
except KeyboardInterrupt:
|
||||
logger.info("Ctrl+C Detected, Attempting Clean Shutdown")
|
||||
app.onexit()
|
||||
logger.info('Exiting')
|
||||
|
Loading…
x
Reference in New Issue
Block a user