diff options
| author | Igor Minar | 2014-01-02 14:39:24 -0800 |
|---|---|---|
| committer | Igor Minar | 2014-01-02 15:28:56 -0800 |
| commit | 884ef0dbcdfe614cedc824d079361b53e675d033 (patch) | |
| tree | a7c8d853935cf32876cd2408fff3e0e5a215c06e /src/ng | |
| parent | 010413f90a9352a5aab1e7517a58eab5f30f2b06 (diff) | |
| download | angular.js-884ef0dbcdfe614cedc824d079361b53e675d033.tar.bz2 | |
fix(Scope): don't let watch deregistration mess up the dirty-checking digest loop
Closes #5525
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/rootScope.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 1bb12869..7a28efa3 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -353,6 +353,7 @@ function $RootScopeProvider(){ return function() { arrayRemove(array, watcher); + lastDirtyWatch = null; }; }, |
