diff options
author | Samantha Houts <samantha@teamredwall.com> | 2017-03-03 04:41:04 -0800 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-03-03 12:41:04 +0000 |
commit | bc13d3cfeeea62214f0c6f434e5f21f7117e2e1a (patch) | |
tree | 5d2e471468e8f754e8e445d2588b0b5fc4508a3c /Xamarin.Forms.Platform.Android | |
parent | 8871077f115e7ef4d15efaa418fd718089db42c7 (diff) | |
download | xamarin-forms-bc13d3cfeeea62214f0c6f434e5f21f7117e2e1a.tar.gz xamarin-forms-bc13d3cfeeea62214f0c6f434e5f21f7117e2e1a.tar.bz2 xamarin-forms-bc13d3cfeeea62214f0c6f434e5f21f7117e2e1a.zip |
[Android] Don't crash if Control is accessed in Effect OnDetached when Page is Disposed. (#773)
* Add repro for 51505
* [Android] Don't dispose of EffectControlProvider
* Oops
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r-- | Xamarin.Forms.Platform.Android/VisualElementRenderer.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs index 46bab02e..68f5d7d4 100644 --- a/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs +++ b/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs @@ -280,8 +280,6 @@ namespace Xamarin.Forms.Platform.Android if (Platform.GetRenderer(Element) == this) Platform.SetRenderer(Element, null); - (Element as IElementController).EffectControlProvider = null; - Element = null; } } |