Correccion de error en Tracker

This commit is contained in:
2024-01-18 19:05:54 -06:00
parent 6fd36f54b4
commit e678345281
5 changed files with 34 additions and 21 deletions

View File

@@ -145,7 +145,7 @@ End Sub
Public Sub StopFLP
If Starter.logger Then Log("StopFLP")
If flpStarted Then
flp.RemoveLocationUpdates 'Eliminamos todas las solicitudes de ubicacion
If flp.IsConnected Then flp.RemoveLocationUpdates 'Eliminamos todas las solicitudes de ubicacion
flpStarted = False
End If
End Sub
@@ -192,7 +192,11 @@ End Sub
Sub Service_Destroy
If Tracking Then
StopFLP
Try
StopFLP
Catch
Log(LastException)
End Try
End If
Tracking = False
lock.ReleasePartialLock