fix(bash): kept persistent shells after cancel
Stopped marking persistent bash sessions as permanently broken when the JavaScript abort or timeout race wins. Stopped the Rust descendant kill-wave helper once no cancellation targets remain so later commands are not swept into old cancels. Fixes #1347
This commit is contained in:
@@ -207,9 +207,6 @@ export async function executeBash(command: string, options?: BashExecutorOptions
|
||||
void runPromise.catch(() => undefined);
|
||||
if (shellSession) {
|
||||
resetSession = true;
|
||||
// Fall back to one-shot execution for the rest of the process once
|
||||
// a persistent session has stopped responding to cancellation.
|
||||
brokenShellSessions.add(sessionKey);
|
||||
}
|
||||
return {
|
||||
exitCode: undefined,
|
||||
|
||||
Reference in New Issue
Block a user