File tree Expand file tree Collapse file tree
src/vs/workbench/parts/debug/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -544,7 +544,6 @@ export class DebugService implements IDebugService {
544544
545545 restartSession ( session : IDebugSession , restartData ?: any ) : TPromise < any > {
546546
547-
548547 return this . textFileService . saveAll ( ) . then ( ( ) => {
549548
550549 const unresolvedConfiguration = session . unresolvedConfiguration ;
@@ -610,12 +609,7 @@ export class DebugService implements IDebugService {
610609 }
611610
612611 const sessions = this . model . getSessions ( ) ;
613- if ( sessions . length ) {
614- return TPromise . join ( sessions . map ( s => s . terminate ( ) ) ) ;
615- }
616-
617- this . _onDidChangeState . fire ( ) ; // TODO@AW why state change?
618- return undefined ;
612+ return TPromise . join ( sessions . map ( s => s . terminate ( ) ) ) ;
619613 }
620614
621615 private substituteVariables ( launch : ILaunch | undefined , config : IConfig ) : TPromise < IConfig > {
You can’t perform that action at this time.
0 commit comments