mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Bugfix: GpsStatusManager needs to stop the timer.
This may lead to crashes when track recording is finished.
This commit is contained in:
@@ -61,6 +61,7 @@ class GpsStatusManager {
|
||||
* The client that uses GpsStatus has to call this method to stop the Runnable if needed.
|
||||
*/
|
||||
public void stop() {
|
||||
stopTimer();
|
||||
client.onGpsStatusChanged(GpsStatusValue.GPS_NONE);
|
||||
client = null;
|
||||
handler = null;
|
||||
|
||||
Reference in New Issue
Block a user