dispose viewmodels from TemplateView
This commit is contained in:
parent
1ef564bdb0
commit
3dde23fc4b
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ export class TemplateView {
|
||||||
v.unmount();
|
v.unmount();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (typeof this._value.dispose === "function") {
|
||||||
|
this._value.dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
root() {
|
root() {
|
||||||
|
|
Reference in a new issue