Fix issue with route recalculation crash

This commit is contained in:
Victor Shcherb 2016-03-17 09:44:23 +01:00
parent 6921164026
commit 1de0bba01a

View file

@ -921,10 +921,10 @@ public class RoutingHelper {
currentRunningJob = new Thread(new Runnable() {
@Override
public void run() {
try {
r.run();
} finally {
synchronized (RoutingHelper.this) {
synchronized (RoutingHelper.this) {
try {
r.run();
} finally {
currentRunningJob = null;
}
}