Removes the geoleaf:ui-theme-changed listeners every theme button posted on globalThis.
Called by destroyDesktopPanel(). The listener lives on the global, not on the button: the
button went with its panel, and the listener stayed — one more on every mount, each keeping
its detached button alive. Measured by the 71-mount-remount E2E.
Removes the
geoleaf:ui-theme-changedlisteners every theme button posted onglobalThis.Called by
destroyDesktopPanel(). The listener lives on the global, not on the button: the button went with its panel, and the listener stayed — one more on every mount, each keeping its detached button alive. Measured by the71-mount-remountE2E.