aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/snifferSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-11-14 19:53:29 +0100
committerIgor Minar2012-11-14 19:56:28 +0100
commitbd524fc4e5fc0feffe85632a7a6560da6bd9b762 (patch)
treee7a1a32f2dac11bdf057c391027df3963a0a7b4c /test/ng/snifferSpec.js
parent19a324ce116b6f5a728f5f78f5c19a364a779e22 (diff)
downloadangular.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