mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fixed insights crash (#2596)
This commit is contained in:
committed by
Karl Burtram
parent
dede5c5ef5
commit
77e1cd8b32
@@ -518,5 +518,6 @@ export abstract class Modal extends Disposable implements IThemable {
|
|||||||
public dispose() {
|
public dispose() {
|
||||||
super.dispose();
|
super.dispose();
|
||||||
this._keydownListener.dispose();
|
this._keydownListener.dispose();
|
||||||
|
this._footerButtons = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -334,6 +334,7 @@ export class InsightsDialogView extends Modal {
|
|||||||
this.hide();
|
this.hide();
|
||||||
dispose(this._taskButtonDisposables);
|
dispose(this._taskButtonDisposables);
|
||||||
this._taskButtonDisposables = [];
|
this._taskButtonDisposables = [];
|
||||||
|
this.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected onClose(e: StandardKeyboardEvent) {
|
protected onClose(e: StandardKeyboardEvent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user