TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Leak Finder: a new tool for JavaScript

52 pointsby abrahamalmost 13 years ago

3 comments

robinduckettalmost 13 years ago
Only if you inherit every object in your application from their "goog.Disposable" super class and call object.dispose() whenever you want to get rid of it. This kind of negates the point of garbage collection. If you aren't removing event handlers when you destroy objects then it's your own fault.
jcampbell1almost 13 years ago
The title is misleading. This is a new tool for Closure, and <i>possibly</i> other code if you rewrite your code base to work like Closure.<p>The built in developer tools are already good enough for finding leaks in most cases. I just use heap snapshots to make sure there are no ugly leaks.
libriaalmost 13 years ago
FYI waveform, you've been helbanned going on 17 days now.