mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 03:13:49 +00:00
Bug 4001 fix for concurrent modification exception
This commit is contained in:
1 parent
a089566920
commit
f3fb540b0a
1 file changed
+2
-1
+2
-1
@@ -120,7 +120,8 @@ public class RaceLogFixTrackerManager implements TrackingDataLoader {
|
||||
stopTrackerIfStillRunning(preemptive);
|
||||
trackedRace.removeListener(raceChangeListener);
|
||||
synchronized (knownRaceLogs) {
|
||||
for (RaceLog raceLog : knownRaceLogs) {
|
||||
final Set<RaceLog> tempSet = new HashSet<>(knownRaceLogs);
|
||||
for (RaceLog raceLog : tempSet) {
|
||||
removeRaceLogUnlocked(raceLog);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user