|
|
@ -1380,10 +1380,13 @@ class Model { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this._watchers && (this._watchers = []); |
|
|
|
this._watchers && (this._watchers = []); |
|
|
|
|
|
|
|
this._computedWatchers && (this._computedWatchers = []); |
|
|
|
this.destroyed && this.destroyed(); |
|
|
|
this.destroyed && this.destroyed(); |
|
|
|
this.$$model = null; |
|
|
|
this.$$model = null; |
|
|
|
this.$$computed = null; |
|
|
|
this.$$computed = null; |
|
|
|
this.$$state = null; |
|
|
|
this.$$state = null; |
|
|
|
|
|
|
|
this.$$context = null; |
|
|
|
|
|
|
|
this.model = null; |
|
|
|
this._destroyHandler && this._destroyHandler(); |
|
|
|
this._destroyHandler && this._destroyHandler(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|