fix(coding-agent): restore terminal on SIGTERM

closes #5724
This commit is contained in:
Armin Ronacher
2026-06-15 00:47:35 +02:00
parent b5e13bcd8a
commit ba0ec61563
4 changed files with 97 additions and 3 deletions

View File

@@ -116,7 +116,6 @@ describe("InteractiveMode.shutdown ordering (#5080)", () => {
expect(order).toEqual(["dispose", "drainInput", "stop"]);
expect(context.isShuttingDown).toBe(true);
expect(context.unregisterSignalHandlers).toHaveBeenCalledTimes(1);
});
test("interactive quit stops the TUI before emitting session_shutdown", async () => {