Skip to content

Commit

Permalink
Don't disconnect after an abort.
Browse files Browse the repository at this point in the history
Don't disconnect from the P4 server immediately after an abort is
detected.

JENKINS-37487
@StuartR
  • Loading branch information
p4paul committed Aug 23, 2016
1 parent 53733b2 commit edd69ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -505,6 +505,5 @@ public boolean hasAborted() {

public void abort() {
this.abort = true;
disconnect();
}
}
Expand Up @@ -226,6 +226,7 @@ protected Object tryTask() throws AbortException {

return result;
} catch (AbortException e) {
p4.disconnect();
throw e;
} catch (Exception e) {
last = e;
Expand Down

0 comments on commit edd69ad

Please sign in to comment.