destroy conditionManager instance on stop providing telemetry

This commit is contained in:
David Tsay 2020-02-26 15:26:39 -08:00
parent fc53e855c4
commit 9d5c7a4015

View File

@ -23,6 +23,7 @@ export default class ConditionSetTelemetryProvider {
return function unsubscribe() {
conditionManager.off('conditionSetResultUpdated');
conditionManager.destroy();
}
}
}