don't agree with u.
Be sure i do some tests (and some code reviews) before posting here
My test case is the following :
Show a grid, open the column menu, then destroy the grid : 23 DOM elements in sIEve
repeat twice : 46 elements in sIEve
repeat more : 69 elements ! and telling me re-used ? when ?
not releasing elements in my menu :
- 1 SPAN (x-menu-item-text) + 1 IMG (x-menu-item-icon) by Menu Item,
- some DIV and BUTTONS (pagingtoolbar) not released due to sus-mentioned memory leak
i do see code for an Ext.Shadow.Pool, but it seems that the only times Shadows are retrieved / returned to the Pool are when they're hidden / shown. In the case of Ext.Layers, the Shadows are always created anew for every instance.
The code for Ext.Shadow / Ext.Shadow.Pool definitely needs to be looked at.
I'll mark this thread [UNKNOWN] for closer scrutiny.
Also renamed it for better visibility.
Last edited by mystix; 9 Dec 2009 at 10:08 AM.
Reason: An Ext.Layer only creates a new Shadow if a shadow config has been specified. Pool size, however, has no upper limit.