Skip to content

Commit

Permalink
Windows::killRecursively() invokes process killers after completion.
Browse files Browse the repository at this point in the history
Resolves https://issues.jenkins-ci.org/browse/JENKINS-19156

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
  • Loading branch information
oleg-nenashev committed Aug 12, 2013
1 parent 7e07fab commit 20859b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/hudson/util/ProcessTree.java
Expand Up @@ -406,9 +406,10 @@ public OSProcess getParent() {
return null;
}

public void killRecursively() {
public void killRecursively() throws InterruptedException {
LOGGER.finer("Killing recursively "+getPid());
p.killRecursively();
killByKiller();
}

public void kill() throws InterruptedException {
Expand Down

0 comments on commit 20859b4

Please sign in to comment.