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