Closed
Description
When transitioning between sibling states when the initial page load is a sibling state, the scopes are not correctly destroyed.
An example:
http://plnkr.co/edit/nPXyZtS883o0Y9eVoksl
When the initial page load is directly to #/home/a then going to #/home/b results in both "SibAObject" and "SibBObject" being on the heap. (perform a heap snapshot after navigation and search for "Sib").
However, when the initial page load is to #/home, navigations between A and B sibling states do clear the scope and the SibAObject and SibBObject only exist on the heap under the correct state.
Metadata
Metadata
Assignees
Labels
No labels