Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix 3564 Null Reference Exception (#3578)
Browse files Browse the repository at this point in the history
- fixes #3564
  • Loading branch information
kingces95 authored and StephaneDelcroix committed Aug 23, 2018
1 parent 8c53d70 commit 1584aa2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

using System;
using System.ComponentModel;
using System.Threading.Tasks;
Expand Down Expand Up @@ -247,7 +248,7 @@ protected override void OnAttachedToWindow()
protected override void OnDetachedFromWindow()
{
base.OnDetachedFromWindow();
PageController.SendDisappearing();
PageController?.SendDisappearing();
}

protected virtual void OnElementChanged(VisualElement oldElement, VisualElement newElement)
Expand Down

0 comments on commit 1584aa2

Please sign in to comment.