fix: stop Cockpit work before asynchronous UI teardown

This commit is contained in:
Sameh Khamis committed 2026-09-13 02:46:57 -07:00
1 parent 947fc79182
commit 152d3e2352
11 files changed
+150 -15

No files matched your search

+2
View File
@@ -5130,6 +5130,8 @@ export class StyleManager {
this._locationControls?.destroy();
this._cctvControls?.destroy();
this._radioControls?.destroy();
this.cockpitView?.stop();
this._cockpitDisplayPortal?.stop();
this._visualEffects.stop();
this._styleParameters?.destroy();
for (const control of this._panelDisclosureControls || []) control.destroy();