mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
This reverts commit a18ea9c9ec.
This commit is contained in:
committed by
GitHub
parent
9464d14f31
commit
7f21b1af48
@@ -68,8 +68,7 @@ export class ExtHostAuthentication implements ExtHostAuthenticationShape {
|
||||
this._inFlightRequests.set(extensionId, inFlightRequests);
|
||||
|
||||
try {
|
||||
const s = await session;
|
||||
return s;
|
||||
await session;
|
||||
} finally {
|
||||
const requestIndex = inFlightRequests.findIndex(request => request.scopes === sortedScopes);
|
||||
if (requestIndex > -1) {
|
||||
@@ -77,6 +76,8 @@ export class ExtHostAuthentication implements ExtHostAuthenticationShape {
|
||||
this._inFlightRequests.set(extensionId, inFlightRequests);
|
||||
}
|
||||
}
|
||||
|
||||
return session;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user