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 daa332a..afb62a6 100644
--- a/Xamarin.Forms.Maps.iOS/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.iOS/MapRenderer.cs
@@ -213,6 +213,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();