aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorIgor Minar2014-01-02 14:39:24 -0800
committerIgor Minar2014-01-02 15:28:56 -0800
commit884ef0dbcdfe614cedc824d079361b53e675d033 (patch)
treea7c8d853935cf32876cd2408fff3e0e5a215c06e /src/ng/rootScope.js
parent010413f90a9352a5aab1e7517a58eab5f30f2b06 (diff)
downloadangular.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/rootScope.js')
-rw-r--r--src/ng/rootScope.js1
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;
};
},