mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
Registers all disposable items for query execution plans (#20851)
This commit is contained in:
@@ -726,7 +726,7 @@ export abstract class GridTableBase<T> extends Disposable implements IView {
|
||||
graphFileType: result.queryExecutionPlanFileExtension
|
||||
};
|
||||
|
||||
const executionPlanInput = this.instantiationService.createInstance(ExecutionPlanInput, undefined, executionPlanGraphInfo);
|
||||
const executionPlanInput = this._register(this.instantiationService.createInstance(ExecutionPlanInput, undefined, executionPlanGraphInfo));
|
||||
await this.editorService.openEditor(executionPlanInput);
|
||||
}
|
||||
else {
|
||||
@@ -800,7 +800,7 @@ export abstract class GridTableBase<T> extends Disposable implements IView {
|
||||
this.currentHeight = size;
|
||||
}
|
||||
// Table is always called with Orientation as VERTICAL
|
||||
this.table.layout(size, Orientation.VERTICAL);
|
||||
this.table?.layout(size, Orientation.VERTICAL);
|
||||
}
|
||||
|
||||
public get minimumSize(): number {
|
||||
|
||||
Reference in New Issue
Block a user