Commit 85d5dde6 authored by Chris Scott's avatar Chris Scott

Update CDVBackgroundGeoLocation.m

parent 4a6d7387
......@@ -771,11 +771,7 @@
* Might be desirable in certain apps.
*/
- (void)applicationWillTerminate:(UIApplication *)application {
[locationManager stopMonitoringSignificantLocationChanges];
[locationManager stopUpdatingLocation];
if (stationaryRegion != nil) {
[locationManager stopMonitoringForRegion:stationaryRegion];
}
}
- (void)dealloc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment