mirror of
https://github.com/cheveguerra/FLP_2.0.git
synced 2026-04-17 19:36:42 +00:00
Correccion de error en Tracker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user