File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -580,7 +580,7 @@ export class TerminalService implements ITerminalService {
580
580
this . _shutdownWindowCount = await this . _nativeDelegate ?. getWindowCount ( ) ;
581
581
const shouldReviveProcesses = this . _shouldReviveProcesses ( reason ) ;
582
582
if ( shouldReviveProcesses ) {
583
- await this . _localTerminalService ?. persistTerminalState ( ) ;
583
+ await this . _primaryOffProcessTerminalService ?. persistTerminalState ( ) ;
584
584
}
585
585
586
586
// Persist terminal _processes_
@@ -648,7 +648,7 @@ export class TerminalService implements ITerminalService {
648
648
649
649
// Clear terminal layout info only when not persisting
650
650
if ( ! this . _shouldReviveProcesses ( e . reason ) ) {
651
- this . _localTerminalService ?. setTerminalLayoutInfo ( undefined ) ;
651
+ this . _primaryOffProcessTerminalService ?. setTerminalLayoutInfo ( undefined ) ;
652
652
}
653
653
}
654
654
You can’t perform that action at this time.
0 commit comments