mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +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: () => {
|
||||
this.shutdownRequested = true;
|
||||
if (!this.session.isStreaming) {
|
||||
void this.shutdown();
|
||||
}
|
||||
},
|
||||
onError: (error) => {
|
||||
this.showExtensionError(error.extensionPath, error.error, error.stack);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue