Bugfix: GpsStatusManager needs to stop the timer.

This may lead to crashes when track recording is finished.
This commit is contained in:
Dennis Guse
2023-08-09 20:06:42 +02:00
parent f6e8a44a8b
commit 313284cceb
@@ -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;