mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
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);
|
this.composition.off('remove', this.removeTelemetryObject);
|
||||||
if(this.conditionManager) {
|
if(this.conditionManager) {
|
||||||
this.conditionManager.off('conditionSetResultUpdated', this.handleOutputUpdated);
|
this.conditionManager.off('conditionSetResultUpdated', this.handleOutputUpdated);
|
||||||
|
this.conditionManager.destroy();
|
||||||
}
|
}
|
||||||
if (typeof this.stopObservingForChanges === 'function') {
|
if (typeof this.stopObservingForChanges === 'function') {
|
||||||
this.stopObservingForChanges();
|
this.stopObservingForChanges();
|
||||||
|
Reference in New Issue
Block a user