MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / ensureExitHook

Method ensureExitHook

src/telemetry/index.ts:527–531  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525 }
526
527 private ensureExitHook(): void {
528 if (this.exitHookInstalled || !this.installExitHook) return;
529 this.exitHookInstalled = true;
530 registerForExit(this);
531 }
532
533 private debug(msg: string): void {
534 if (this.env.CODEGRAPH_TELEMETRY_DEBUG === '1') {

Callers 2

recordUsageMethod · 0.95
recordLifecycleMethod · 0.95

Calls 1

registerForExitFunction · 0.85

Tested by

no test coverage detected