mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 05:38:12 +00:00
Memory leak fixes (#2387)
* Clean up listeners * Fix uses of 'destroy' instead of 'destroyed'
This commit is contained in:
committed by
Deep Tailor
parent
d2e2d55caf
commit
844280eaa5
@ -239,7 +239,7 @@ define([
|
||||
this.filteredRows.destroy();
|
||||
Object.keys(this.subscriptions).forEach(this.unsubscribe, this);
|
||||
this.openmct.time.off('bounds', this.refreshData);
|
||||
this.openmct.time.on('timeSystem', this.refreshData);
|
||||
this.openmct.time.off('timeSystem', this.refreshData);
|
||||
if (this.filterObserver) {
|
||||
this.filterObserver();
|
||||
}
|
||||
|
Reference in New Issue
Block a user