Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7cbb16148d
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class CurrentPositionHelper {
|
|||
}
|
||||
};
|
||||
calculatingThread = app.getRoutingHelper().startTaskInRouteThreadIfPossible(run);
|
||||
} else if (!calcThread.isAlive()) {
|
||||
} else if (calcThread != null && !calcThread.isAlive()) {
|
||||
calculatingThread = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue