mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -05:00
Fix bug disconnecting during stuck OE operation (#2773)
This commit is contained in:
@@ -231,9 +231,10 @@ export class ServerTreeView {
|
||||
if (connection) {
|
||||
var conn = this.getConnectionInTreeInput(connection.id);
|
||||
if (conn) {
|
||||
this._objectExplorerService.deleteObjectExplorerNode(conn);
|
||||
this._tree.collapse(conn);
|
||||
this._tree.refresh(conn);
|
||||
this._objectExplorerService.deleteObjectExplorerNode(conn).then(() => {
|
||||
this._tree.collapse(conn);
|
||||
this._tree.refresh(conn);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user