In the latest nightly Nakamura loads (3.6) I notice that if I open a
new blank tab or close the last open tab, that somehow two new menu
commanders are created.  I put a breakpoint in the one spot that
creates new menu commanders in browser.js and when it hits the other
menucommander has somehow already been added to the menuCommanders
array.  Since the breakpoint only hits once I have no idea how it's
being added before the breakpoint hits (unless the component is doing
it somehow).  When the tab is closed only one of the menucommanders is
removed so opening a blank tab results in an extra menucommander
permanently getting added to the window.

The win objects in the extra objects in the menucommanders array
either have a "closed" value of "true" or are missing most of the
values associates with a window, including the closed value.  So these
window objects are not valid.

Basically this results in a memory leak since it is holding references
to unsafewindows that don't exist.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to