/**
解决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的窗口关闭还占用内存的问题
最新推荐文章于 2019-11-19 12:17:55 发布