Destroy condition manager when the ConditionSet vue is destroyed
This commit is contained in:
@@ -110,6 +110,7 @@ export default {
|
||||
this.composition.off('remove', this.removeTelemetryObject);
|
||||
if(this.conditionManager) {
|
||||
this.conditionManager.off('conditionSetResultUpdated', this.handleOutputUpdated);
|
||||
this.conditionManager.destroy();
|
||||
}
|
||||
if (typeof this.stopObservingForChanges === 'function') {
|
||||
this.stopObservingForChanges();
|
||||
|
||||
Reference in New Issue
Block a user