Fix continuous loop on Cancel (#23609)

This commit is contained in:
Cheena Malhotra
2023-06-30 14:15:09 -07:00
committed by GitHub
parent a6bd752082
commit bc515e8f45

View File

@@ -222,7 +222,8 @@ export class CommandLineWorkbenchContribution implements IWorkbenchContribution,
}
let isOpenOk = await this.confirmConnect(args);
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);