added missing abort of race if it doesn't depend on anything

Change-Id: I4ce4d3aab9bb64b2a784131644612ae36a985ca3
This commit is contained in:
Axel Uhl committed 2016-04-06 18:43:06 +02:00
1 parent 2db28920d9
commit 4b4d9780ec
1 file changed
+2
@@ -247,6 +247,8 @@ public class AbortFlagsFragment extends RaceFragment implements AbortFlagItemCli
// the race on which raceToAbort depends immediately is NOT to be aborted
actions.add(new AbortAction(raceToAbort, now, flag));
}
} else {
actions.add(new AbortAction(raceToAbort, now, flag));
}
for (final ManagedRace dependentRace : dependentRaces) { // dependentRace is "Q" from bug 3148 comment #2
final RaceState raceStateOfDependentRace = dependentRace.getState();