mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix for dispose method of undefined (#4843)
This commit is contained in:
@@ -490,7 +490,9 @@ export class CellModel implements ICellModel {
|
|||||||
|
|
||||||
// Dispose and set current future to undefined
|
// Dispose and set current future to undefined
|
||||||
private disposeFuture() {
|
private disposeFuture() {
|
||||||
this._future.dispose();
|
if (this._future) {
|
||||||
|
this._future.dispose();
|
||||||
|
}
|
||||||
this._future = undefined;
|
this._future = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user