Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 (https://www.gitkraken.com/blog/weak-ssh-key-fix). If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 9bdcad8a authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

shutdown executor service for the parallel update scheme in the post loop method.

parent e9b47e53
Pipeline #194092 passed with stages
in 119 minutes and 49 seconds
......@@ -279,6 +279,7 @@ public class OptimalStepsModel implements MainModel, PotentialFieldModel {
@Override
public void postLoop(final double simTimeInSec) {
updateSchemeOSM.shutdown();
}
@Override
......
......@@ -117,4 +117,8 @@ public interface UpdateSchemeOSM extends DynamicElementRemoveListener<Pedestrian
topography.moveElement(pedestrian, from);
}
}
default void shutdown() {
}
}
......@@ -230,4 +230,9 @@ public class UpdateSchemeParallel implements UpdateSchemeOSM {
@Override
public void elementRemoved(Pedestrian element) {}
@Override
public void shutdown() {
executorService.shutdown();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment