@@ -11,7 +11,6 @@ import { IEnvironmentService, ParsedArgs } from 'vs/platform/environment/common/
1111import { shell , crashReporter , app , Menu } from 'electron' ;
1212import { Event } from 'vs/base/common/event' ;
1313import { IURLService , IURLHandler } from 'vs/platform/url/common/url' ;
14- import { ILifecycleMainService } from 'vs/platform/lifecycle/electron-main/lifecycleMainService' ;
1514import { IWindowsMainService , ISharedProcess , ICodeWindow } from 'vs/platform/windows/electron-main/windows' ;
1615import { IRecentlyOpened , IRecent } from 'vs/platform/history/common/history' ;
1716import { IHistoryMainService } from 'vs/platform/history/electron-main/historyMainService' ;
@@ -45,7 +44,6 @@ export class WindowsService extends Disposable implements IWindowsService, IURLH
4544 @IWindowsMainService private readonly windowsMainService : IWindowsMainService ,
4645 @IEnvironmentService private readonly environmentService : IEnvironmentService ,
4746 @IURLService urlService : IURLService ,
48- @ILifecycleMainService private readonly lifecycleMainService : ILifecycleMainService ,
4947 @IHistoryMainService private readonly historyMainService : IHistoryMainService ,
5048 @ILogService private readonly logService : ILogService
5149 ) {
@@ -359,12 +357,6 @@ export class WindowsService extends Disposable implements IWindowsService, IURLH
359357 this . windowsMainService . quit ( ) ;
360358 }
361359
362- async relaunch ( options : { addArgs ?: string [ ] , removeArgs ?: string [ ] } ) : Promise < void > {
363- this . logService . trace ( 'windowsService#relaunch' ) ;
364-
365- this . lifecycleMainService . relaunch ( options ) ;
366- }
367-
368360 async whenSharedProcessReady ( ) : Promise < void > {
369361 this . logService . trace ( 'windowsService#whenSharedProcessReady' ) ;
370362
0 commit comments