diff --git a/src/observable/map/JoinedMap.js b/src/observable/map/JoinedMap.js index 7d099136..e5d0caa7 100644 --- a/src/observable/map/JoinedMap.js +++ b/src/observable/map/JoinedMap.js @@ -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; }