mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 12:15:32 +01:00
Try to revoke tokens that are getting deleted
Best effort. Fixes https://github.com/microsoft/vscode/issues/152055
This commit is contained in:
@@ -363,6 +363,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
sessions.splice(sessionIndex, 1);
|
||||
|
||||
await this.storeSessions(sessions);
|
||||
await this._githubServer.logout(session);
|
||||
|
||||
this._sessionChangeEmitter.fire({ added: [], removed: [session], changed: [] });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user