mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
Delete telemetry cache only when count reaches 0
This commit is contained in:
@ -334,8 +334,8 @@ define([
|
|||||||
});
|
});
|
||||||
if (subscriber.callbacks.length === 0) {
|
if (subscriber.callbacks.length === 0) {
|
||||||
subscriber.unsubscribe();
|
subscriber.unsubscribe();
|
||||||
|
delete this.subscribeCache[keyString];
|
||||||
}
|
}
|
||||||
delete this.subscribeCache[keyString];
|
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user