mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 15:43:52 +00:00
Delete telemetry cache only when count reaches 0
This commit is contained in:
parent
3338bc1000
commit
bacad24811
@ -334,8 +334,8 @@ define([
|
||||
});
|
||||
if (subscriber.callbacks.length === 0) {
|
||||
subscriber.unsubscribe();
|
||||
delete this.subscribeCache[keyString];
|
||||
}
|
||||
delete this.subscribeCache[keyString];
|
||||
}.bind(this);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user