1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-10 20:17:32 +01:00

make dispose not fail

This commit is contained in:
Bruno Windels 2021-04-22 17:18:07 +02:00
parent 4e3127c4cf
commit ff4abbc5ba

@ -20,6 +20,7 @@ export class JoinedMap extends BaseObservableMap {
constructor(sources) {
super();
this._sources = sources;
this._subscriptions = null;
}
onAdd(source, key, value) {
@ -160,7 +161,7 @@ class SourceSubscriptionHandler {
}
subscribe() {
this._source.subscribe(this);
this._subscription = this._source.subscribe(this);
return this;
}