summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2017-03-03 04:41:04 -0800
committerRui Marinho <me@ruimarinho.net>2017-03-03 12:41:04 +0000
commitbc13d3cfeeea62214f0c6f434e5f21f7117e2e1a (patch)
tree5d2e471468e8f754e8e445d2588b0b5fc4508a3c /Xamarin.Forms.Platform.Android
parent8871077f115e7ef4d15efaa418fd718089db42c7 (diff)
downloadxamarin-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.cs2
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;
}
}