Skip to content

Commit

Permalink
dispatch shutdown only once
Browse files Browse the repository at this point in the history
  • Loading branch information
solaluset committed Jan 27, 2024
1 parent 3ee514a commit a9cb3f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def handler(event):
if event != signal.CTRL_C_EVENT:
return
shutdown(config, p)
SetHandler(handler, False)

kwargs = {
"creationflags": subprocess.CREATE_NO_WINDOW
Expand Down

0 comments on commit a9cb3f4

Please sign in to comment.