Comment on A surprising JavaScript memory leak found at MeteorparentComments−mayank13yCorrect. I'm actually a little surprised that an identity statement like "str;" isn't optimized out.Edit: removing the function definition eliminates the problem, so I'd say that your diagnosis of the problem is spot on.
Comments
Correct. I'm actually a little surprised that an identity statement like "str;" isn't optimized out.
Edit: removing the function definition eliminates the problem, so I'd say that your diagnosis of the problem is spot on.