Commits

Bryan Turner committed c0e68a6

Split cancel() into cancel() and internalCancel() so that wrapUpProcess() will not always result in the process showing as canceled on the ProcessHandler

  • Participants
  • Parent commits a4b9fe0

Comments (0)

Files changed (1)

File src/main/java/com/atlassian/utils/process/ExternalProcessImpl.java

                 }
             }
         } finally {
-            cancel();
+            internalCancel();
         }
 
         if (processIncomplete && !interrupted) {
      */
     public void cancel() {
         this.canceled = true;
+
+        internalCancel();
+    }
+
+    private void internalCancel() {
         if (outputPump != null) {
             outputPump.cancel();
         }