/**
?解决Ext的窗口关闭还占用内存的问题
**/
Ext.Window.prototype.beforeDestroy = function(){
??????? Ext.destroy(
???this.focusEl,? // 新增
???this.bwrap,?// 新增
??????????? this.resizer,
??????????? this.dd,
??????????? this.proxy,
??????????? this.mask
??????? );
??????? Ext.Window.superclass.beforeDestroy.call(this);
?
?this.focusEl=null;? // 新增
?this.bwrap=null;?// 新增
}
详细解决方案
解决Ext的窗口关闭还占用内存的有关问题
热度:86 发布时间:2012-09-27 11:11:17.0
相关解决方案