MCPcopy Create free account
hub / github.com/tiann/hapi / abortHandler

Method abortHandler

cli/src/cursor/cursorLegacyRemoteLauncher.ts:257–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 let stderrCapture = '';
256
257 const abortHandler = () => {
258 killProcessByChildProcess(child, false).catch(() => {});
259 resolve({ exitCode: null, stderr: stderrCapture });
260 };
261 this.abortController.signal.addEventListener('abort', abortHandler);
262
263 const cleanup = () => {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected