Skip to content

Comment on A surprising JavaScript memory leak found at Meteor

Comments

I'm surprised this comes as a surprise to Meteor developers. References retained won't be garbage collected... regardless of whether the lexical scope is "really small" or not, lol.

The surprise is that a non-referenced value isn't collected, not that a referred-to value isn't.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.