|
|
@ -738,7 +738,7 @@ |
|
|
|
callLifeHook(this, "destroyed"); |
|
|
|
callLifeHook(this, "destroyed"); |
|
|
|
this.destroyed = null; |
|
|
|
this.destroyed = null; |
|
|
|
this._isDestroyed = true; |
|
|
|
this._isDestroyed = true; |
|
|
|
this._purgeRef(); |
|
|
|
// this._purgeRef(); // 清除ref的时机还是要仔细考虑一下
|
|
|
|
this.purgeListeners(); |
|
|
|
this.purgeListeners(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|