Misc memory leak fixes (#7224)

* fix(leak): remove font listeners

* fix(leak): release componentInstance

* fix(perf): remove unused emit

* fix(perf): only emit if tickWidth changes

* fix: warnings and undefined keys

* fix: remove unused bind

* fix: restore MctTicks component
This commit is contained in:
Jesse Mazzella
2024-02-14 15:49:02 -08:00
committed by GitHub
parent a9ad0bf38a
commit e08633214e
15 changed files with 30 additions and 21 deletions

View File

@ -99,7 +99,7 @@ class DisplayLayoutView {
destroy() {
if (this._destroy) {
this._destroy();
this.component = undefined;
this.component = null;
}
}
}