MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / onClose

Method onClose

src/views/StatsView.ts:244–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 }
243
244 async onClose() {
245 this.contentEl.empty();
246
247 // Clean up listeners
248 this.listeners.forEach((listener) => this.plugin.emitter.offref(listener));
249 this.listeners = [];
250 }
251
252 private loadPersistedFilters(): StatsFilters {
253 try {

Callers

nothing calls this directly

Calls 1

offrefMethod · 0.65

Tested by

no test coverage detected