debt - move shared process things out into own service

This commit is contained in:
Benjamin Pasero
2019-09-24 16:42:31 +02:00
parent 3909604de9
commit 4da232a31b
12 changed files with 70 additions and 58 deletions

View File

@@ -303,7 +303,7 @@ export class IssueReporter extends Disposable {
const loggerClient = new LoggerChannelClient(mainProcessService.getChannel('logger'));
this.logService = new FollowerLogService(loggerClient, logService);
const sharedProcess = (<IWindowsService>serviceCollection.get(IWindowsService)).whenSharedProcessReady()
const sharedProcess = mainProcessService.getChannel('sharedProcess').call('whenSharedProcessReady')
.then(() => connectNet(this.environmentService.sharedIPCHandle, `window:${configuration.windowId}`));
const instantiationService = new InstantiationService(serviceCollection, true);