MCPcopy Create free account
hub / github.com/chhoumann/quickadd / destroy

Method destroy

src/utils/FieldSuggestionCache.ts:166–169  ·  view source on GitHub ↗

* Cleanup resources when shutting down * Note: Obsidian will automatically clear registered intervals

()

Source from the content-addressed store, hash-verified

164 * Note: Obsidian will automatically clear registered intervals
165 */
166 destroy(): void {
167 this.cleanupInterval = null;
168 this.cache.clear();
169 }
170
171 private makeKey(fieldName: string, cacheKey?: string): string {
172 // Encode both components unambiguously. A raw `${fieldName}:${cacheKey}`

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected