diff options
| author | Igor Minar | 2012-11-14 19:53:29 +0100 |
|---|---|---|
| committer | Igor Minar | 2012-11-14 19:56:28 +0100 |
| commit | bd524fc4e5fc0feffe85632a7a6560da6bd9b762 (patch) | |
| tree | e7a1a32f2dac11bdf057c391027df3963a0a7b4c /test/ng/snifferSpec.js | |
| parent | 19a324ce116b6f5a728f5f78f5c19a364a779e22 (diff) | |
| download | angular.js-bd524fc4e5fc0feffe85632a7a6560da6bd9b762.tar.bz2 | |
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:
https://github.com/angular/angular.js/issues/1313#issuecomment-10378451
And chrome bug at:
https://code.google.com/p/v8/issues/detail?id=2073
Closes #1313
Diffstat (limited to 'test/ng/snifferSpec.js')
0 files changed, 0 insertions, 0 deletions
