id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking
15206,[regression] ComboBox: memory leak on destroy (IE8),nmweiler,bill,"Issue in 1.7.x. Works fine in 1.6.1.
Appears that all the child widgets aren't properly being cleaned up
in registry._destroyAll method when the dom nodes are getting removed.
This causes IE8 to leak memory.
To Recreate--
Recreate with attached code samples. The drop down must be expanded for the memory leak to occur. Each time the drop down is expanded and page is submitted the memory for the IE process will continue to increase.
Additional observations--
Not running the addOnWindowUnload cleanup code in IE8 allows the browser to cleanup the references on it's own. Resulting in no memory leak.
{{{
if(has(""ie"")){
//change to if(dojo.isIE < 8)
// Only run _destroyAll() for IE because we think it's only necessary in that case,
// and because it causes problems on FF. See bug #3531 for details.
unload.addOnWindowUnload(function(){
registry._destroyAll();
});
}
}}}
Problem was recreated on multiple WinXP machines with IE8 as well as a Windows 7 machine with IE8.",defect,closed,undecided,1.7.4,Dijit - Form,1.7.1,fixed,,Douglas Hays Colin Snover,,