MCPcopy
hub / github.com/spicetify/cli / componentWillUnmount

Method componentWillUnmount

CustomApps/lyrics-plus/index.js:987–993  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

985 }
986
987 componentWillUnmount() {
988 Utils.removeQueueListener(this.onQueueChange);
989 this.configButton.deregister();
990 this.mousetrap.reset();
991 window.removeEventListener("fad-request", lyricContainerUpdate);
992 refreshMusixmatchTranslation = null;
993 }
994
995 updateVisualOnConfigChange() {
996 this.availableModes = CONFIG.modes.filter((_, id) => {

Callers

nothing calls this directly

Calls 1

deregisterMethod · 0.45

Tested by

no test coverage detected