MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / stopAllWatchers

Function stopAllWatchers

src/index.ts:1743–1747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1741 // ── Cleanup guards (normal MCP lifecycle) ──────────────────────────────────
1742 let shuttingDown = false;
1743 const stopAllWatchers = () => {
1744 for (const project of getAllProjects()) {
1745 project.stopWatcher?.();
1746 }
1747 };
1748
1749 let idleTimer: NodeJS.Timeout | undefined;
1750 let activeSessionWork = 0;

Callers 1

shutdownFunction · 0.85

Calls 1

getAllProjectsFunction · 0.85

Tested by

no test coverage detected