Merge remote-tracking branch 'origin/master'
commit
492e205147
|
@ -268,7 +268,7 @@ export class ModelServiceImpl extends Disposable implements IModelService {
|
|||
private readonly _onModelRemoved: Emitter<ITextModel> = this._register(new Emitter<ITextModel>());
|
||||
public readonly onModelRemoved: Event<ITextModel> = this._onModelRemoved.event;
|
||||
|
||||
private readonly _onModelModeChanged: Emitter<{ model: ITextModel; oldModeId: string; }> = this._register(new Emitter<{ model: ITextModel; oldModeId: string; }>({ leakWarningThreshold: 500 }));
|
||||
private readonly _onModelModeChanged: Emitter<{ model: ITextModel; oldModeId: string; }> = this._register(new Emitter<{ model: ITextModel; oldModeId: string; }>());
|
||||
public readonly onModelModeChanged: Event<{ model: ITextModel; oldModeId: string; }> = this._onModelModeChanged.event;
|
||||
|
||||
private _modelCreationOptionsByLanguageAndResource: {
|
||||
|
|
|
@ -371,7 +371,7 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService,
|
|||
private autoUpdateDelayer: ThrottledDelayer<void>;
|
||||
private disposables: IDisposable[] = [];
|
||||
|
||||
private readonly _onChange: Emitter<IExtension | undefined> = new Emitter<IExtension | undefined>({ leakWarningThreshold: 200 });
|
||||
private readonly _onChange: Emitter<IExtension | undefined> = new Emitter<IExtension | undefined>();
|
||||
get onChange(): Event<IExtension | undefined> { return this._onChange.event; }
|
||||
|
||||
private _extensionAllowedBadgeProviders: string[];
|
||||
|
@ -1110,4 +1110,4 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService,
|
|||
this.syncDelayer.cancel();
|
||||
this.disposables = dispose(this.disposables);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ export class WorkspaceService extends Disposable implements IWorkspaceConfigurat
|
|||
|
||||
private workspaceEditingQueue: Queue<void>;
|
||||
|
||||
protected readonly _onDidChangeConfiguration: Emitter<IConfigurationChangeEvent> = this._register(new Emitter<IConfigurationChangeEvent>({ leakWarningThreshold: 500 }));
|
||||
protected readonly _onDidChangeConfiguration: Emitter<IConfigurationChangeEvent> = this._register(new Emitter<IConfigurationChangeEvent>());
|
||||
public readonly onDidChangeConfiguration: Event<IConfigurationChangeEvent> = this._onDidChangeConfiguration.event;
|
||||
|
||||
protected readonly _onDidChangeWorkspaceFolders: Emitter<IWorkspaceFoldersChangeEvent> = this._register(new Emitter<IWorkspaceFoldersChangeEvent>());
|
||||
|
|
|
@ -339,7 +339,7 @@ export class FileDecorationsService implements IDecorationsService {
|
|||
|
||||
private readonly _data = new LinkedList<DecorationProviderWrapper>();
|
||||
private readonly _onDidChangeDecorationsDelayed = new Emitter<URI | URI[]>();
|
||||
private readonly _onDidChangeDecorations = new Emitter<IResourceDecorationChangeEvent>({ leakWarningThreshold: 500 });
|
||||
private readonly _onDidChangeDecorations = new Emitter<IResourceDecorationChangeEvent>();
|
||||
private readonly _decorationStyles: DecorationStyles;
|
||||
private readonly _disposables: IDisposable[];
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ export class ExtensionService extends Disposable implements IExtensionService {
|
|||
private _allRequestedActivateEvents: { [activationEvent: string]: boolean; };
|
||||
private readonly _extensionScanner: CachedExtensionScanner;
|
||||
|
||||
private readonly _onDidRegisterExtensions: Emitter<void> = this._register(new Emitter<void>({ leakWarningThreshold: 500 }));
|
||||
private readonly _onDidRegisterExtensions: Emitter<void> = this._register(new Emitter<void>());
|
||||
public readonly onDidRegisterExtensions = this._onDidRegisterExtensions.event;
|
||||
|
||||
private readonly _onDidChangeExtensionsStatus: Emitter<string[]> = this._register(new Emitter<string[]>());
|
||||
|
|
|
@ -103,7 +103,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
this.colorThemeStore = new ColorThemeStore(extensionService, ColorThemeData.createLoadedEmptyTheme(DEFAULT_THEME_ID, DEFAULT_THEME_SETTING_VALUE));
|
||||
this.onFileIconThemeChange = new Emitter<IFileIconTheme>();
|
||||
this.iconThemeStore = new FileIconThemeStore(extensionService);
|
||||
this.onColorThemeChange = new Emitter<IColorTheme>({ leakWarningThreshold: 500 });
|
||||
this.onColorThemeChange = new Emitter<IColorTheme>();
|
||||
|
||||
this.currentIconTheme = {
|
||||
id: '',
|
||||
|
|
Loading…
Reference in New Issue