do not return null unsubscribe function (#2335)

This commit is contained in:
Andrew Henry 2019-03-27 18:09:13 -07:00 committed by Deep Tailor
parent 72fc8a24a5
commit 994f6be535

View File

@ -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) {