diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Android/ViewRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Android/ViewRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/ViewRenderer.cs b/Xamarin.Forms.Platform.Android/ViewRenderer.cs index 0415ce93..143e6a7f 100644 --- a/Xamarin.Forms.Platform.Android/ViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/ViewRenderer.cs @@ -69,7 +69,7 @@ namespace Xamarin.Forms.Platform.Android { if (disposing && !_disposed) { - if (Control != null) + if (Control != null && ManageNativeControlLifetime) { Control.RemoveFromParent(); Control.Dispose(); |