Fixed plyer bug

This commit is contained in:
Mark Qvist 2023-10-25 03:40:08 +02:00
parent 7da64a10cf
commit 34ec42fc89
1 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ class AndroidGPS(GPS):
Looper.getMainLooper())
def _stop(self):
if hasattr(self, "_location_manager") and self._location_manager != None:
self._location_manager.removeUpdates(self._location_listener)