Skip to content

Commit

Permalink
Suspend proc before killing
Browse files Browse the repository at this point in the history
  • Loading branch information
javizqh committed Nov 15, 2024
1 parent bd32ae3 commit e9994ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def find_docker_console():
# Kill already running code
try:
proc = psutil.Process(self.application_process.pid)
proc.suspend()
proc.kill()
except Exception:
pass
Expand Down

0 comments on commit e9994ad

Please sign in to comment.