Fix issue with route recalculation crash
This commit is contained in:
parent
6921164026
commit
1de0bba01a
1 changed files with 4 additions and 4 deletions
|
@ -921,10 +921,10 @@ public class RoutingHelper {
|
||||||
currentRunningJob = new Thread(new Runnable() {
|
currentRunningJob = new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
synchronized (RoutingHelper.this) {
|
||||||
r.run();
|
try {
|
||||||
} finally {
|
r.run();
|
||||||
synchronized (RoutingHelper.this) {
|
} finally {
|
||||||
currentRunningJob = null;
|
currentRunningJob = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue