mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 00:23:54 +00:00
do not return null unsubscribe function (#2335)
This commit is contained in:
parent
72fc8a24a5
commit
994f6be535
@ -137,8 +137,7 @@ define([
|
||||
function callbackWrapper(series) {
|
||||
callback(createDatum(domainObject, metadata, series, series.getPointCount() - 1));
|
||||
}
|
||||
|
||||
return capability.subscribe(callbackWrapper, request);
|
||||
return capability.subscribe(callbackWrapper, request) || function () {};
|
||||
};
|
||||
|
||||
LegacyTelemetryProvider.prototype.supportsLimits = function (domainObject) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user