Introduce removeSessionByIToken to remove sessions that aren't in this._tokens yet. Fixes #145189

This commit is contained in:
Tyler Leonhardt
2022-04-14 15:21:45 -07:00
parent cba0a0e460
commit 52a394bdea
2 changed files with 37 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ export async function activate(context: vscode.ExtensionContext) {
*/
telemetryReporter.sendTelemetryEvent('logout');
const session = await loginService.removeSession(id);
const session = await loginService.removeSessionById(id);
if (session) {
onDidChangeSessions.fire({ added: [], removed: [session], changed: [] });
}