Python
move clear_startup_lock to quit_application
Chris Malone60b4d15351f2
diff --git a/wgp.py b/wgp.pyindex 16dc396..8be4ff5 100644--- a/wgp.py+++ b/wgp.py@@ -1523,6 +1523,7 @@ def clear_queue_action(state):def quit_application():print("Save and Quit requested...")+ clear_startup_lock()autosave_queue()import signalos.kill(os.getpid(), signal.SIGINT)@@ -1540,7 +1541,6 @@ def show_countdown_info_from_state(current_value: int):return current_valuequitting_app = Falsedef autosave_queue():- clear_startup_lock()global quitting_appquitting_app = Trueglobal global_queue_ref