You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Navigate to route B, then perform a heap snapshot. Both SibAObject and SibBObject will be on the heap. However, landing on '/home' first, then navigating between /home/a and /home/b allow the scopes to be dereferenced and freed correctly.
The text was updated successfully, but these errors were encountered:
I've dug up this unresolved issue which appears similar: #3543
That old issue is apparently IE9 specific. However this new issue affects modern browsers (confirmed in chrome at least). Despite that, the reproduction code for the two issues is very similar.
The same issue as reported to ui-router also exists in ngRoute: angular-ui/ui-router#1766
The scope for the landing route is retained in the heap even when that state is navigated away. See the below for an example:
http://plnkr.co/edit/tS1z9PgWM927a3joiC95
Navigate to route B, then perform a heap snapshot. Both SibAObject and SibBObject will be on the heap. However, landing on '/home' first, then navigating between /home/a and /home/b allow the scopes to be dereferenced and freed correctly.
The text was updated successfully, but these errors were encountered: