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:
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user