fix(Scope): don't let watch deregistration mess up the dirty-checking digest loop

Closes #5525
This commit is contained in:
Igor Minar
2014-01-02 14:39:24 -08:00
parent 010413f90a
commit 884ef0dbcd
2 changed files with 48 additions and 0 deletions

View File

@@ -353,6 +353,7 @@ function $RootScopeProvider(){
return function() {
arrayRemove(array, watcher);
lastDirtyWatch = null;
};
},