Skip to content

Commit 1a7f468

Browse files
committed
Dont tear down shell startup when switched to command
1 parent c6d7168 commit 1a7f468

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/features/terminal/terminalManager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,8 @@ export class TerminalManagerImpl implements TerminalManager {
135135
}
136136
} else {
137137
traceVerbose(
138-
`Auto activation type changed to ${actType}, we are cleaning up shell startup setup`,
138+
`Auto activation type changed to ${actType}, not tearing down shell startup scripts on activation type switch; scripts are only removed via explicit revert.`,
139139
);
140-
// Teardown scripts when switching away from shell startup activation
141-
await Promise.all(this.startupScriptProviders.map((p) => p.teardownScripts()));
142140
this.shellSetup.clear();
143141
}
144142
}

0 commit comments

Comments
 (0)