fix(coding-agent): run extension shutdown via clean TUI shutdown path

This commit is contained in:
Mario Zechner 2026-02-06 21:37:20 +01:00
parent 5c87303b7f
commit 92fdb53c10

View file

@ -1068,6 +1068,9 @@ export class InteractiveMode {
},
shutdownHandler: () => {
this.shutdownRequested = true;
if (!this.session.isStreaming) {
void this.shutdown();
}
},
onError: (error) => {
this.showExtensionError(error.extensionPath, error.error, error.stack);