dispose viewmodels from TemplateView

This commit is contained in:
Bruno Windels 2020-05-04 19:24:27 +02:00
parent 1ef564bdb0
commit 3dde23fc4b

View file

@ -103,6 +103,9 @@ export class TemplateView {
v.unmount();
}
}
if (typeof this._value.dispose === "function") {
this._value.dispose();
}
}
root() {