From 2f843d15e0bdd62b728d0fb686671a7cb651135f Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 11 Jul 2016 14:45:21 -0400 Subject: [PATCH] Also forcefully kill the main process --- awx/main/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index f4d442fbeb..2325702da6 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -600,6 +600,7 @@ class BaseTask(Task): child_procs = main_proc.get_children(recursive=True) for child_proc in child_procs: os.kill(child_proc.pid, signal.SIGKILL) + os.kill(main_proc.pid, signal.SIGKILL) except TypeError: os.kill(child.pid, signal.SIGKILL) else: