diff options
| author | Andy Gurden | 2013-08-13 12:55:06 +0100 | 
|---|---|---|
| committer | Vojta Jina | 2013-08-14 16:04:48 -0700 | 
| commit | ac69392cd7f939ebbd37765e377051d4c05df4a5 (patch) | |
| tree | 1ebf5b0fab1adcedc6ebe388d45091e69d7fc2f2 /lib | |
| parent | a5fb372e1e6aed8cdb1f572f1df3d6fe89388f3e (diff) | |
| download | angular.js-ac69392cd7f939ebbd37765e377051d4c05df4a5.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 'lib')
0 files changed, 0 insertions, 0 deletions
