Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,7 @@ def clear_queue_action(state):

def quit_application():
print("Save and Quit requested...")
clear_startup_lock()
autosave_queue()
import signal
os.kill(os.getpid(), signal.SIGINT)
Expand All @@ -1540,7 +1541,6 @@ def show_countdown_info_from_state(current_value: int):
return current_value
quitting_app = False
def autosave_queue():
clear_startup_lock()
global quitting_app
quitting_app = True
global global_queue_ref
Expand Down