From 884ef0dbcdfe614cedc824d079361b53e675d033 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 2 Jan 2014 14:39:24 -0800 Subject: fix(Scope): don't let watch deregistration mess up the dirty-checking digest loop Closes #5525 --- src/ng/rootScope.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ng/rootScope.js') 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; }; }, -- cgit v1.2.3