Skip to content

Commit 0f1f6b5

Browse files
committed
deleting instead of null settting to avoid issues on last unsub
1 parent 60cb632 commit 0f1f6b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/condition/ConditionManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export default class ConditionManager extends EventEmitter {
9797
}
9898

9999
this.telemetryCollections[keyString].destroy();
100-
this.telemetryCollections[keyString] = null;
101-
this.telemetryObjects[keyString] = null;
100+
delete this.telemetryCollections[keyString];
101+
delete this.telemetryObjects[keyString];
102102
this.removeConditionTelemetryObjects();
103103

104104
//force re-computation of condition set result as we might be in a state where

0 commit comments

Comments
 (0)