From 5a8748a5d0243049527c71163f9e239575b034d5 Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Thu, 20 Jun 2019 11:48:36 -0600 Subject: [PATCH] Update ItemsViewLayout.cs (#6583) Unsubscribe from PropertyChanged during Dispose() on ItemsViewLayout (iOS). --- Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs b/Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs index 0d41d81..21f398a 100644 --- a/Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs +++ b/Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs @@ -51,7 +51,7 @@ namespace Xamarin.Forms.Platform.iOS { if (_itemsLayout != null) { - _itemsLayout.PropertyChanged += LayoutOnPropertyChanged; + _itemsLayout.PropertyChanged -= LayoutOnPropertyChanged; } } -- 2.7.4