提交 6319a1e0 编写于 作者: B Benjamin Pasero

workaround constructor issue

上级 a60946da
......@@ -49,7 +49,9 @@ export abstract class TextFileService implements ITextFileService {
) {
this.listenerToUnbind = [];
this._onAutoSaveConfigurationChange = new Emitter<IAutoSaveConfiguration>();
}
protected init(): void {
this.registerListeners();
this.loadConfiguration();
}
......
......@@ -47,6 +47,8 @@ export class TextFileService extends AbstractTextFileService {
@IEventService eventService: IEventService
) {
super(contextService, instantiationService, configurationService, telemetryService, lifecycleService, eventService);
this.init();
}
public beforeShutdown(): boolean | TPromise<boolean> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册