Skip to content

Commit

Permalink
Update StackNavigationManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Foda authored Nov 18, 2024
1 parent c5f9996 commit 1a39910
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Core/src/Platform/Windows/StackNavigationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ public virtual void Disconnect(IStackNavigation navigationView, Frame navigation
FirePendingNavigationFinished();
_navigationFrame = null;
NavigationView = null;

if (_previousContent is not null)
{
_previousContent.Content = null;
_previousContent = null;
}
}

public virtual void NavigateTo(NavigationRequest args)
Expand Down

0 comments on commit 1a39910

Please sign in to comment.