File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/vs/workbench/contrib/inlineChat/browser Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ export class InlineChatController implements IEditorContribution {
819
819
820
820
this . _resetWidget ( ) ;
821
821
822
- this . _strategy ?. pause ?.( ) ;
822
+ this . _strategy ?. dispose ?.( ) ;
823
823
this . _session = undefined ;
824
824
}
825
825
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ export abstract class EditModeStrategy {
61
61
readonly onDidDiscard : Event < void > = this . _onDidDiscard . event ;
62
62
63
63
toggleDiff ?: ( ) => any ;
64
- pause ?: ( ) => any ;
65
64
66
65
constructor (
67
66
protected readonly _session : Session ,
@@ -466,10 +465,6 @@ export class LiveStrategy extends EditModeStrategy {
466
465
}
467
466
}
468
467
469
- override pause = ( ) => {
470
- this . _ctxCurrentChangeShowsDiff . reset ( ) ;
471
- } ;
472
-
473
468
async apply ( ) {
474
469
this . _resetDiff ( ) ;
475
470
if ( this . _editCount > 0 ) {
You can’t perform that action at this time.
0 commit comments