Skip to content

Commit

Permalink
bugfix in AbstractSolver: cancel timer on solver exception
Browse files Browse the repository at this point in the history
  • Loading branch information
olepoeschl committed Nov 12, 2024
1 parent 0ce7ac0 commit 42ff7c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public void run() {
solve();
} catch (Exception e) {
executionState = CANCELED;
timer.cancel();
onCancel.accept(e);
throw new RuntimeException("error while running solver: " + e.getMessage(), e);
}
Expand Down

0 comments on commit 42ff7c1

Please sign in to comment.