[Greasemonkey] Leak Monitor

Johan Sundström oyasumi at gmail.com
Tue May 9 02:14:39 EDT 2006


David Baron's recent Leak Monitor extension,
http://dbaron.org/mozilla/leak-monitor/ (blog post at
http://dbaron.org/log/2006-05#e20060506a ) just surprised me a bit by
not taking note of what I would have believed to be obvious sources of
memory leaks in greasemonkey scripts where I try registering a few
event handlers without unregistering them again on unload.

Is there actually some system built into greasemonkey already that
tracks script event handler registration behind the scenes to back
them out again so everything gets properly garbage collected?

I thought I'd ask here before bugging David about things passing below
the Leak Monitor radar.

--
 / Johan Sundström, http://ecmanaut.blogspot.com/


More information about the Greasemonkey mailing list