Skip to content

Commit

Permalink
sys._exit() experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 15, 2024
1 parent 8380043 commit 066cf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def api_shutdown():
ppid = os.getppid()
parent_process = psutil.Process(ppid)
parent_process.kill()
sys.exit(1)
sys._exit(1)



Expand Down

0 comments on commit 066cf27

Please sign in to comment.