MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / uninstallCrashHandlers

Function uninstallCrashHandlers

packages/telemetry/src/crash.ts:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48export function uninstallCrashHandlers(): void {
49 if (!installed) return;
50 if (installedUncaughtHandler !== null) {
51 process.off('uncaughtExceptionMonitor', installedUncaughtHandler);
52 }
53 installedUncaughtHandler = null;
54 installed = false;
55}
56
57function isAbortError(reason: unknown): boolean {
58 return (

Callers 2

telemetry.test.tsFile · 0.90

Calls 1

offMethod · 0.65

Tested by

no test coverage detected