mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix continuous loop on Cancel (#23609)
This commit is contained in:
@@ -222,7 +222,8 @@ export class CommandLineWorkbenchContribution implements IWorkbenchContribution,
|
|||||||
}
|
}
|
||||||
let isOpenOk = await this.confirmConnect(args);
|
let isOpenOk = await this.confirmConnect(args);
|
||||||
if (!isOpenOk) {
|
if (!isOpenOk) {
|
||||||
return false;
|
// returning true will ensure the request won't be looped (since urlService opens url with shouldStop = false)
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const connectionProfile = this.readProfileFromArgs(args);
|
const connectionProfile = this.readProfileFromArgs(args);
|
||||||
|
|||||||
Reference in New Issue
Block a user