mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
Fix node update in bdc dashboard on reconnect (#8138)
* Fix node update in bdc dashboard on reconnect * Fix no floating promises * Fix opening from dashboard to always save controller node
This commit is contained in:
@@ -311,7 +311,6 @@ export class ClusterController {
|
||||
this._connectionPromise = this._dialog.showDialog();
|
||||
}
|
||||
const controller = await this._connectionPromise;
|
||||
this._connectionPromise = undefined;
|
||||
if (controller) {
|
||||
this._username = controller._username;
|
||||
this._password = controller._password;
|
||||
@@ -325,6 +324,8 @@ export class ClusterController {
|
||||
}
|
||||
} catch (error) {
|
||||
throw new ControllerError(error, errorMessage);
|
||||
} finally {
|
||||
this._connectionPromise = undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user