Hi,
In iOS, when the Tab Icon on a TabbedPage is pushed and the current page is not root, then the navigation stack is popped too root, but the pages on the stack -which should be popped- are not properly released.
When using the back button (popping the pages one by one) they are properly released and are removed from the stack.
With the code below you can inspect the contents of the navigation stack.
When using the Tab Icon, the stack keeps incrementing and the "popped" pages stay on there.
Is anyone else seeing this behaviour?
I think this is a memory leak. Visually, everything looks fine, but the popped pages stay in memory.
// TODO memory leak -> when tab icon is pushed when not root, the current page is not released
foreach (var item in this.Navigation.NavigationStack)
{
Console.WriteLine ("Items =====> {0}", item);
}
Regards
Gerd