Fix race condition in #2521
This commit is contained in:
parent
dd07571182
commit
8c3696b76b
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ public class GeneralRouter implements VehicleRouter {
|
|||
parameters.add(param);
|
||||
}
|
||||
|
||||
public Object eval(BitSet types, ParameterContext paramContext) {
|
||||
public synchronized Object eval(BitSet types, ParameterContext paramContext) {
|
||||
if (matches(types, paramContext)) {
|
||||
return calcSelectValue(types, paramContext);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue