mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 06:04:05 +00:00
fix(coding-agent): run extension shutdown via clean TUI shutdown path
This commit is contained in:
parent
5c87303b7f
commit
92fdb53c10
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue