mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 08:41:01 +00:00
Merge branch 'master' into bug1407-new
This commit is contained in:
commit
37a057d660
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -670,7 +670,9 @@ DynamicTrackedRace, GPSTrackListener<Competitor, GPSFixMoving> {
|
||||
|
||||
@Override
|
||||
public void detachRaceLog() {
|
||||
logListener.removeFrom(attachedRaceLog);
|
||||
if (attachedRaceLog != null) {
|
||||
logListener.removeFrom(attachedRaceLog);
|
||||
}
|
||||
super.detachRaceLog();
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -49,7 +49,9 @@ public class DynamicTrackedRaceLogListener implements RaceLogEventVisitor {
|
||||
// Maybe something like this is needed:
|
||||
// TODO:
|
||||
// ??? trackedRace.setStatus(new TrackedRaceStatusImpl(TrackedRaceStatusEnum.PREPARED, 0.0));
|
||||
raceLog.removeListener(this);
|
||||
if (raceLog != null) {
|
||||
raceLog.removeListener(this);
|
||||
}
|
||||
}
|
||||
|
||||
private void analyze() {
|
||||
|
||||
Reference in new issue
Block a user