Skip to content

Commit

Permalink
Code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Kurz <[email protected]>
  • Loading branch information
scottkurz committed Jul 6, 2023
1 parent 6cef3a7 commit 594b8c9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,9 @@ protected IStatus run(IProgressMonitor monitor) {
public void done(IJobChangeEvent event) {

runningJobs.remove(event.getJob());
if (event.getResult().equals(Status.CANCEL_STATUS)) {
return;
}

/*
* Check for timeout
Expand Down Expand Up @@ -1104,5 +1107,6 @@ public void refreshDashboardView(boolean reportError) {
*/
public void cancelRunningJobs() {
runningJobs.keySet().forEach(j -> j.cancel());
runningJobs.clear();
}
}

0 comments on commit 594b8c9

Please sign in to comment.