Commit 2c03c166 authored by hengwen's avatar hengwen
Browse files

Release all reserved service after simulation is done/aborted

parent 7032735d
......@@ -170,7 +170,9 @@ public class SimulationService implements Runnable {
try {
startSimulation(registry);
} catch (Exception e) {
e.printStackTrace();
logger.warn(e.getMessage(), e);
} finally {
registry.releaseAll();
}
}
......
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