提交 e30a6deb 编写于 作者: J Johannes Rieken

debt - remove used service dependency

上级 bf0fc83e
......@@ -48,7 +48,6 @@ export class MainProcessExtensionService extends AbstractExtensionService<Activa
private _threadService: IThreadService;
private _messageService: IMessageService;
private _telemetryService: ITelemetryService;
private _proxy: ExtHostExtensionService;
private _isDev: boolean;
private _extensionsStatus: { [id: string]: IExtensionsStatus };
......@@ -59,8 +58,7 @@ export class MainProcessExtensionService extends AbstractExtensionService<Activa
constructor(
contextService: IWorkspaceContextService,
threadService: IThreadService,
messageService: IMessageService,
telemetryService: ITelemetryService
messageService: IMessageService
) {
super(false);
let config = contextService.getConfiguration();
......@@ -69,7 +67,6 @@ export class MainProcessExtensionService extends AbstractExtensionService<Activa
this._messageService = messageService;
threadService.registerRemotableInstance(MainProcessExtensionService, this);
this._threadService = threadService;
this._telemetryService = telemetryService;
this._proxy = this._threadService.getRemotable(ExtHostExtensionService);
this._extensionsStatus = {};
......
......@@ -230,7 +230,7 @@ export class WorkbenchShell {
this.threadService = new MainThreadService(this.contextService, this.messageService, this.windowService, lifecycleService);
let extensionService = new MainProcessExtensionService(this.contextService, this.threadService, this.messageService, this.telemetryService);
let extensionService = new MainProcessExtensionService(this.contextService, this.threadService, this.messageService);
this.contextViewService = new ContextViewService(this.container, this.telemetryService, this.messageService);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册