diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index bd712e07b004..8c969b5ec34b 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -476,6 +476,11 @@ function $RootScopeProvider(){ if (parent.$$childTail == this) parent.$$childTail = this.$$prevSibling; if (this.$$prevSibling) this.$$prevSibling.$$nextSibling = this.$$nextSibling; if (this.$$nextSibling) this.$$nextSibling.$$prevSibling = this.$$prevSibling; + + // This is bogus code that works around Chrome's GC leak + // see: https://github.com/angular/angular.js/issues/1313#issuecomment-10378451 + this.$parent = this.$$nextSibling = this.$$prevSibling = this.$$childHead = + this.$$childTail = null; }, /**