Skip to content

Commit 1f607d6

Browse files
authored
1 parent fa7c021 commit 1f607d6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ export class InlineChatController implements IEditorContribution {
819819

820820
this._resetWidget();
821821

822-
this._strategy?.pause?.();
822+
this._strategy?.dispose?.();
823823
this._session = undefined;
824824
}
825825

src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export abstract class EditModeStrategy {
6161
readonly onDidDiscard: Event<void> = this._onDidDiscard.event;
6262

6363
toggleDiff?: () => any;
64-
pause?: () => any;
6564

6665
constructor(
6766
protected readonly _session: Session,
@@ -466,10 +465,6 @@ export class LiveStrategy extends EditModeStrategy {
466465
}
467466
}
468467

469-
override pause = () => {
470-
this._ctxCurrentChangeShowsDiff.reset();
471-
};
472-
473468
async apply() {
474469
this._resetDiff();
475470
if (this._editCount > 0) {

0 commit comments

Comments
 (0)