Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix($rootScope): workaround for Chrome's memleak
Under certain circumstances chrome fails to GC scopes because of buggy optimizations and caching. Nulling out references to (not from!) other scopes helps Chrome to realize that this object should be GC-ed. This is really just a workaround as the real problem needs to be fixed in Chrome. See discusstion at: angular#1313 (comment) And chrome bug at: https://code.google.com/p/v8/issues/detail?id=2073 Closes angular#1313
- Loading branch information