Commit b430d191 authored by Daniel Le Berre's avatar Daniel Le Berre
Browse files

Improving #147

It is probably better to avoid a NPE on the synchronized statement.
parent 4d97c59e
Pipeline #2948 canceled with stages
......@@ -1779,7 +1779,7 @@ public class Solver<D extends DataStructureFactory>
public void run() {
Solver.this.undertimeout = false;
synchronized (Solver.this.timer) {
synchronized (Solver.this) {
if (Solver.this.timer != null) {
Solver.this.timer = null;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment