Commit e212cc2f authored by Gabriel Svennerberg's avatar Gabriel Svennerberg

included change from the original repo

parent 862a896e
......@@ -762,11 +762,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