MCPcopy
hub / github.com/callumalpass/tasknotes / onunload

Method onunload

src/main.ts:668–673  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

666 }
667
668 onunload() {
669 this.emitter?.trigger(TASKNOTES_RUNTIME_LIFECYCLE_RAW_EVENTS.unloading, {
670 timestamp: new Date().toISOString(),
671 });
672 void cleanupPluginRuntime(this);
673 }
674
675 private async pluginDataFileExists(): Promise<boolean> {
676 return pluginDataFileExists(this);

Callers

nothing calls this directly

Calls 2

cleanupPluginRuntimeFunction · 0.90
triggerMethod · 0.65

Tested by

no test coverage detected