mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-11-22 15:48:54 +01:00
afd1232940
The previous implementation was technically safe because the sensor never had null values. Now that it can, the calls to getHeartRate must be stored instead of repeated to avoid a race condition where the sensor data become null between the null-check and the second call