diff options
| author | Andy Gurden | 2013-08-13 12:55:06 +0100 |
|---|---|---|
| committer | Vojta Jina | 2013-08-14 14:34:06 -0700 |
| commit | 920a3804136d49cdaf7bc2712f5832bc50409dc9 (patch) | |
| tree | e1601e57a7cf44bb1038d2fd9156540476c213aa /src/ngSanitize | |
| parent | f757f86b6c6fdc132dbd0000705641e6e46c9dce (diff) | |
| download | angular.js-920a3804136d49cdaf7bc2712f5832bc50409dc9.tar.bz2 | |
fix($timeout): clean deferreds immediately after callback exec/cancel
Make sure $timeout callbacks are forgotten about immediately after
execution or cancellation.
Previously when passing invokeApply=false, the cleanup used $q and so
would be pending until the next $digest was triggered. This does not
make a large functional difference, but can be very visible when
looking at memory consumption of an app or debugging around the
$$asyncQueue - these callbacks can have a big retaining tree.
Diffstat (limited to 'src/ngSanitize')
0 files changed, 0 insertions, 0 deletions
