瀏覽代碼

Fixes case where pending session promise is not awaited

main
Ramin Tadayon 11 月之前
父節點
當前提交
905c6ce159
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 79D60DDE3DFB95F5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/plus/gk/account/subscriptionService.ts

+ 1
- 1
src/plus/gk/account/subscriptionService.ts 查看文件

@ -626,7 +626,7 @@ export class SubscriptionService implements Disposable {
@gate()
@debug()
private async ensureSession(createIfNeeded: boolean, force?: boolean): Promise<AuthenticationSession | undefined> {
if (this._sessionPromise != null && this._session === undefined) {
if (this._sessionPromise != null) {
void (await this._sessionPromise);
}

Loading…
取消
儲存