ソースを参照

Fixes case where pending session promise is not awaited

main
Ramin Tadayon 5ヶ月前
コミット
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);
}

読み込み中…
キャンセル
保存