fix(coding-agent): run extension shutdown via clean TUI shutdown path
This commit is contained in:
@@ -1068,6 +1068,9 @@ export class InteractiveMode {
|
|||||||
},
|
},
|
||||||
shutdownHandler: () => {
|
shutdownHandler: () => {
|
||||||
this.shutdownRequested = true;
|
this.shutdownRequested = true;
|
||||||
|
if (!this.session.isStreaming) {
|
||||||
|
void this.shutdown();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
this.showExtensionError(error.extensionPath, error.error, error.stack);
|
this.showExtensionError(error.extensionPath, error.error, error.stack);
|
||||||
|
|||||||
Reference in New Issue
Block a user