-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-navigationNavigationPageNavigationPagepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Hello.
I've noticed a memory leak when user uses NavigationPage to open a modal with another NavigationPage like so:
Navigation.PushModalAsync(new NavigationPage(new MainPage()));
When we open a modal without NavigationPage there is no leakage.
I'm using AdamE.MemoryToolkit.Maui for leak detection.
IOS and Android differ slightly, Android show leaks on navigating back, iOS on navigating forward.

Steps to Reproduce
- Open project from repo: https://github.com/Pastajello/Leak_NavigationPage
- Run the app in Debug
- Tap the button "Navigate": On iOS: see that leaks appear
- Tap button "Back" : On Android see that leak appear
Link to public reproduction project repository
https://github.com/Pastajello/Leak_NavigationPage
Version with bug
10.0.50
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-navigationNavigationPageNavigationPagepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working