File tree Expand file tree Collapse file tree
workbench/test/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,13 +261,6 @@ export class CodeApplication extends Disposable {
261261 }
262262 } ) ;
263263
264- ipc . on ( 'vscode:exit' , ( event : Event , code : number ) => {
265- this . logService . trace ( 'IPC#vscode:exit' , code ) ;
266-
267- this . dispose ( ) ;
268- this . lifecycleMainService . kill ( code ) ;
269- } ) ;
270-
271264 ipc . on ( 'vscode:fetchShellEnv' , async ( event : IpcMainEvent ) => {
272265 const webContents = event . sender ;
273266
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ export class TestElectronService implements IElectronService {
217217 async closeWindow ( ) : Promise < void > { }
218218 async closeWindowById ( ) : Promise < void > { }
219219 async quit ( ) : Promise < void > { }
220+ async exit ( code : number ) : Promise < void > { }
220221 async openDevTools ( options ?: Electron . OpenDevToolsOptions | undefined ) : Promise < void > { }
221222 async toggleDevTools ( ) : Promise < void > { }
222223 async startCrashReporter ( options : Electron . CrashReporterStartOptions ) : Promise < void > { }
You can’t perform that action at this time.
0 commit comments