mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
dispose viewmodels from TemplateView
This commit is contained in:
parent
1ef564bdb0
commit
3dde23fc4b
@ -103,6 +103,9 @@ export class TemplateView {
|
||||
v.unmount();
|
||||
}
|
||||
}
|
||||
if (typeof this._value.dispose === "function") {
|
||||
this._value.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
root() {
|
||||
|
Loading…
Reference in New Issue
Block a user