Skip to content

Commit

Permalink
Merge pull request #3947 from lenboo/133-fault
Browse files Browse the repository at this point in the history
[FIX-3615] master exit  gracefully
  • Loading branch information
CalvinKirs authored Oct 19, 2020
2 parents ccdaee9 + ba97191 commit 4f94943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ private void runProcess(){
// submit start node
submitPostNode(null);
boolean sendTimeWarning = false;
while(!processInstance.isProcessInstanceStop()){
while(!processInstance.isProcessInstanceStop() && Stopper.isRunning()){

// send warning email if process time out.
if(!sendTimeWarning && checkProcessTimeOut(processInstance) ){
Expand Down

0 comments on commit 4f94943

Please sign in to comment.