mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-07 22:37:28 +08:00
fix(Scope): don't let watch deregistration mess up the dirty-checking digest loop
Closes #5525
This commit is contained in:
@@ -353,6 +353,7 @@ function $RootScopeProvider(){
|
||||
|
||||
return function() {
|
||||
arrayRemove(array, watcher);
|
||||
lastDirtyWatch = null;
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user