MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / stopAppConfigWatcher

Function stopAppConfigWatcher

apps/desktop/src/main/app-config.ts:669–672  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

667
668/** Test/teardown hook: stop the file watcher. */
669export async function stopAppConfigWatcher(): Promise<void> {
670 await watcher?.close().catch(() => {})
671 watcher = null
672}

Callers 1

app-config.test.tsFile · 0.90

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected