mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -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
|
||||
private disposeFuture() {
|
||||
this._future.dispose();
|
||||
if (this._future) {
|
||||
this._future.dispose();
|
||||
}
|
||||
this._future = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user