summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
index 99ff0799..829167b0 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
@@ -525,7 +525,7 @@ namespace Xamarin.Forms.Platform.iOS
void RemoveViewControllers(bool animated)
{
var controller = TopViewController as ParentingViewController;
- if (controller == null || controller.Child == null)
+ if (controller == null || controller.Child == null || Platform.GetRenderer(controller.Child) == null)
return;
// Gesture in progress, lets not be proactive and just wait for it to finish