Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 35e9b6ce authored by Markus Quaritsch's avatar Markus Quaritsch Committed by Stefanos DOUMPOULAKIS
Browse files

make sure to remove last run that creates the following simulation runs gets...

make sure to remove last run that creates the following simulation runs gets removed from the list of unfinished simulation runs
parent 76933397
No related tags found
No related merge requests found
......@@ -357,8 +357,10 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
_runContainerMap.TryGetValue(runContainerId, out var runContainer);
runContainer?.JobCompleted(runId);
try {
// may throw an exception in case not all simulation runs are finished successfully
AddFollowUpSimulatorFactories(runContainerId);
} finally {
try {
_runsRwLock.EnterWriteLock();
//_unfinishedRuns.Remove(runId);
......@@ -374,6 +376,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
_runsRwLock.ExitWriteLock();
}
}
}
private void AddFollowUpSimulatorFactories(int runContainerId)
{
......@@ -384,7 +387,6 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
return;
}
AddRuns(additionalSimulatorFactory);
Execute(_multithreaded);
} catch (Exception ex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment