Skip to content

Commit

Permalink
Merge pull request #173 from JdeRobot/hot-reset-susp-proc
Browse files Browse the repository at this point in the history
Suspend proc before killing
  • Loading branch information
javizqh authored Nov 15, 2024
2 parents bd32ae3 + e9994ad commit 421b03b
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 421b03b

Please sign in to comment.