MCPcopy
hub / github.com/iChochy/NCE / destroy

Method destroy

js/ReadingSystem.js:1142–1150  ·  view source on GitHub ↗

* 销毁系统,清理资源

()

Source from the content-addressed store, hash-verified

1140 * 销毁系统,清理资源
1141 */
1142 destroy() {
1143 this.eventManager.clear();
1144 this.lrcCache.clear();
1145 this.audioPreload.clear();
1146 this.resourceLoader.cancel();
1147 this.lyricLineEls = [];
1148 this.dom = null;
1149 this.state = null;
1150 }
1151}

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected