|
|
@ -739,12 +739,13 @@ |
|
|
|
this.destroyed = null; |
|
|
|
this.destroyed = null; |
|
|
|
this._isDestroyed = true; |
|
|
|
this._isDestroyed = true; |
|
|
|
// this._purgeRef(); // 清除ref的时机还是要仔细考虑一下
|
|
|
|
// this._purgeRef(); // 清除ref的时机还是要仔细考虑一下
|
|
|
|
this.purgeListeners(); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_unMount: function () { |
|
|
|
_unMount: function () { |
|
|
|
this.__destroy(); |
|
|
|
this.__destroy(); |
|
|
|
this.fireEvent(BI.Events.UNMOUNT); |
|
|
|
this.fireEvent(BI.Events.UNMOUNT); |
|
|
|
|
|
|
|
this.purgeListeners(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_empty: function () { |
|
|
|
_empty: function () { |
|
|
|