浏览代码

Fixes case where pending session promise is not awaited

main
Ramin Tadayon 11 个月前
父节点
当前提交
905c6ce159
找不到此签名对应的密钥 GPG 密钥 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);
}

正在加载...
取消
保存