Skip to content

Fix memory leak and zombie routers in clearTop navigation#660

Open
mhdamirhamza wants to merge 1 commit into
uber:mainfrom
mhdamirhamza:mhdamirhamza-patch-1
Open

Fix memory leak and zombie routers in clearTop navigation#660
mhdamirhamza wants to merge 1 commit into
uber:mainfrom
mhdamirhamza:mhdamirhamza-patch-1

Conversation

@mhdamirhamza

Copy link
Copy Markdown

Call detachInternal() on intermediate stack entries before removing them from the iterator in clearTop() to ensure correct lifecycle teardown and prevent zombie routers and memory leaks in Android applications.

Related issue(s):
Fixes a core lifecycle teardown issue in RIBs navigation.

Call detachInternal() on intermediate stack entries before removing them from the iterator in clearTop() to ensure correct lifecycle teardown and prevent memory leaks.
@CLAassistant

CLAassistant commented Jun 11, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants