From f12e25c5c8809a159bb42964b1518cd209116ac5 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 28 Sep 2015 23:40:17 +0200 Subject: [PATCH] Fix ItemsControl unsubscription. --- src/Perspex.Controls/ItemsControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Perspex.Controls/ItemsControl.cs b/src/Perspex.Controls/ItemsControl.cs index 6539cffae5..376703e942 100644 --- a/src/Perspex.Controls/ItemsControl.cs +++ b/src/Perspex.Controls/ItemsControl.cs @@ -171,7 +171,7 @@ namespace Perspex.Controls if (incc != null) { - incc.CollectionChanged += ItemsCollectionChanged; + incc.CollectionChanged -= ItemsCollectionChanged; } var newValue = e.NewValue as IEnumerable;