Skip to content

Commit f026743

Browse files
authored
Dont tear down shell startup when switched to command (#1071)
Resolves: #1023 Came from: #1070 Tests coming: #1019
1 parent c6d7168 commit f026743

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/features/terminal/terminalManager.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +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()));
142-
this.shellSetup.clear();
143140
}
144141
}
145142
}),

0 commit comments

Comments
 (0)