diff options
author | Kevin Petit <kevin.petit@outlook.com> | 2017-01-19 10:12:51 +0100 |
---|---|---|
committer | Stephane Delcroix <stephane@delcroix.org> | 2017-01-19 10:12:51 +0100 |
commit | a11e4c638b105c4d6466894c57a357c893996116 (patch) | |
tree | 35161c7edb7501118ec7b92c173e69e9ca2ee0f9 /Xamarin.Forms.Core | |
parent | fb024a6e62363af2b14e704c0559eb7a2f08c082 (diff) | |
download | xamarin-forms-a11e4c638b105c4d6466894c57a357c893996116.tar.gz xamarin-forms-a11e4c638b105c4d6466894c57a357c893996116.tar.bz2 xamarin-forms-a11e4c638b105c4d6466894c57a357c893996116.zip |
Fix NullReferenceException in VisualElement finalize. (#701)
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r-- | Xamarin.Forms.Core/VisualElement.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/VisualElement.cs b/Xamarin.Forms.Core/VisualElement.cs index cff1eb10..352e2549 100644 --- a/Xamarin.Forms.Core/VisualElement.cs +++ b/Xamarin.Forms.Core/VisualElement.cs @@ -790,7 +790,7 @@ namespace Xamarin.Forms } if (!GetIsDefault(TriggersProperty)) { - var triggers = GetValue(TriggersProperty) as AttachedCollection<Trigger>; + var triggers = GetValue(TriggersProperty) as AttachedCollection<TriggerBase>; triggers.DetachFrom(this); } } |