Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1230 closed defect (duplicate)

Menu2 PopupManager.registerAllWindows causes memory leaks

Reported by: ornus Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: menu2 Cc:
Blocked By: Blocking:

Description

In some cases Menu2 PopupManager?.registerAllWindows can cause memory leak on IE. I'm not sure what order frames are unloaded, but it seems that relying on Dojo IE clubbering is not enough. IFrame might not get disposed correctly because of references from the parent window.

I'll see if I can create a simple test case to demonstrate this problem. I suspect http://novemberborn.net/javascript/edgvl is the problem, but not necessarily.

Change History (4)

comment:1 Changed 13 years ago by ornus

I tracked the problem to the dojo.html.getDocumentWindow method. It seems that eval function causes the leak.

comment:2 Changed 13 years ago by ornus

I filed a separate #1232 issue for the getDocumentWindow. Hopefully it will resolve memory leaks with the PopupManager?

comment:3 Changed 13 years ago by liucougar

Resolution: duplicate
Status: newclosed

close this one in favor of #1232

comment:4 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.