* Cleanup resources when shutting down * Note: Obsidian will automatically clear registered intervals
()
| 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}` |