angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.56k stars 3.01k forks source link

Transitions are not cleared #3630

Closed WidoBurg closed 6 years ago

WidoBurg commented 6 years ago

This issue tracker is for Bug Reports and Feature Requests only.

Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.

This is a (check one box):

My version of UI-Router is: 1.0.14

Bug Report

Current Behavior:

Is not cleaning transitions after garbage collect.

Expected Behavior:

According to https://github.com/ui-router/core/commit/7f2aed1 which is release in 1.0.14 I would expect that going back and forth between 'Hello' and 'About' the transitions are set to one after the garbage collected has done explicit. But they are not. In my scenario I switched 10 times with a result of 10 Transitions. transitions are not removed

Link to Plunker or stackblitz that reproduces the issue:

https://plnkr.co/edit/ZIgUQodBQ8RiG19w608y?p=preview

wawyed commented 6 years ago

Seems to be fixed on version 1.0.15.