diff --git a/core/src/main/java/hudson/util/ProcessTree.java b/core/src/main/java/hudson/util/ProcessTree.java index 28bb8267563fb63b77b68c16e19d818469428e27..2dd927d6fa3d7d0b09718ace89fc6bf35f9f23b3 100644 --- a/core/src/main/java/hudson/util/ProcessTree.java +++ b/core/src/main/java/hudson/util/ProcessTree.java @@ -406,9 +406,10 @@ public abstract class ProcessTree implements Iterable, IProcessTree, return null; } - public void killRecursively() { + public void killRecursively() throws InterruptedException { LOGGER.finer("Killing recursively "+getPid()); p.killRecursively(); + killByKiller(); } public void kill() throws InterruptedException {