Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(runtime): unregister shutdown handlers

morluto71072d86b161
diff --cc src/main.ts
index 19669f2e5,01e0c4904..5908d565f
--- a/src/main.ts
+++ b/src/main.ts
@@@ -34,10 -33,8 +34,10 @@@ interface RuntimeDependencies
readonly serve: typeof serveStdio;
readonly writeStderr: (text: string) => void;
readonly setExitCode: (code: number) => void;
- readonly registerShutdown: (handler: () => void) => void;
+ readonly registerShutdown: (handler: () => void) => () => void;
readonly registerReload?: (handler: () => void) => () => void;
+ readonly createServer?: typeof createServer;
+ readonly readProjectPermissionStore?: typeof readProjectPermissionStore;
}
const runtimeDependencies = (): RuntimeDependencies => ({