mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Registers all disposable items for query execution plans (#20851)
This commit is contained in:
@@ -61,7 +61,7 @@ export class ExecutionPlanEditorOverrideContribution extends Disposable implemen
|
||||
}
|
||||
});
|
||||
|
||||
this._editorResolverService.registerEditor(
|
||||
this._register(this._editorResolverService.registerEditor(
|
||||
this.getGlobForFileExtensions(supportedFileFormats),
|
||||
{
|
||||
id: ExecutionPlanEditor.ID,
|
||||
@@ -74,11 +74,11 @@ export class ExecutionPlanEditorOverrideContribution extends Disposable implemen
|
||||
graphFileContent: undefined,
|
||||
graphFileType: undefined
|
||||
};
|
||||
const executionPlanInput = this._register(this._instantiationService.createInstance(ExecutionPlanInput, editorInput.resource, executionPlanGraphInfo));
|
||||
|
||||
const executionPlanInput = this._instantiationService.createInstance(ExecutionPlanInput, editorInput.resource, executionPlanGraphInfo);
|
||||
return { editor: executionPlanInput, options: editorInput.options, group: group };
|
||||
}
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
private getGlobForFileExtensions(extensions: string[]): string {
|
||||
|
||||
Reference in New Issue
Block a user