Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngView): use animation promises ensure that only one leave animation... #9374

Merged
merged 1 commit into from
Oct 1, 2014

Conversation

IgorMinar
Copy link
Contributor

... occurs at a time

the tracking depended on a local flag variable, which was susceptible to corruption due to
race conditions.

Closes #9355
Closes #7606

@IgorMinar IgorMinar force-pushed the ngview-previouselement2 branch from ef82e07 to 6f0a98f Compare October 1, 2014 22:18
IgorMinar added a commit to IgorMinar/angular.js that referenced this pull request Oct 1, 2014
…ion occurs at a time

the tracking depended on a local flag variable, which was susceptible to corruption due to
race conditions.

Closes angular#9355
Closes angular#7606
Closes angular#9374
@IgorMinar IgorMinar added this to the 1.3.0-rc.5 milestone Oct 1, 2014
…ion occurs at a time

the tracking depended on a local flag variable, which was susceptible to corruption due to
race conditions.

using promises ensures that the previousLeaveAnimation is nulled out only if it hasn't been
canceled yet.

Closes angular#9355
Closes angular#7606
Closes angular#9374
@IgorMinar IgorMinar force-pushed the ngview-previouselement2 branch from 6f0a98f to 3624e38 Compare October 1, 2014 22:20
@IgorMinar IgorMinar merged commit 3624e38 into angular:master Oct 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngView cleanup order
3 participants