forked from mystiq/hydrogen-web
make dispose not fail
This commit is contained in:
parent
4e3127c4cf
commit
ff4abbc5ba
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue