Skip to content

Commit

Permalink
fix: error for pre-existing OOPIFs
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jan 14, 2022
1 parent 59578d9 commit 512b37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/FrameManager.ts
Expand Up @@ -253,13 +253,13 @@ export class FrameManager extends EventEmitter {
return;
}

const frame = this._frames.get(event.targetInfo.targetId);
const session = Connection.fromSession(this._client).session(
event.sessionId
);
frame._updateClient(session);
this.setupEventListeners(session);
await this.initialize(session);
const frame = this._frames.get(event.targetInfo.targetId);
frame._updateClient(session);
}

private async _onDetachedFromTarget(
Expand Down

0 comments on commit 512b37c

Please sign in to comment.