Comment on A surprising JavaScript memory leak found at MeteorComments−dreamdu5t13yI'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.−wtbob13yThe surprise is that a non-referenced value isn't collected, not that a referred-to value isn't.
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.