[Greasemonkey] Leak Monitor

Aaron Boodman zboogs at gmail.com
Mon May 8 17:34:33 EDT 2006


These should not leak. If they do it would be a bug in Mozilla. And
while there are some bugs like that which are still open, you wouldn't
hit them without doing particular patterns of event listening.

- a

On 5/8/06, Johan Sundström <oyasumi at gmail.com> wrote:
> 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/
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list