summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.iOS
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Maps.iOS')
-rw-r--r--Xamarin.Forms.Maps.iOS/MapRenderer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Maps.iOS/MapRenderer.cs b/Xamarin.Forms.Maps.iOS/MapRenderer.cs
index bdb7e68d..2fac61a8 100644
--- a/Xamarin.Forms.Maps.iOS/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.iOS/MapRenderer.cs
@@ -210,6 +210,7 @@ namespace Xamarin.Forms.Maps.MacOS
}
#endif
// For iOS versions < 9, the MKMapView will be disposed in ViewRenderer's Dispose method
+
if (_locationManager != null)
{
_locationManager.Dispose();