From 23ee295f348d114617f2a86d0bb792936f413ac5 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 15 Nov 2021 14:33:45 +0100 Subject: [PATCH] fix: null check for frame in FrameManager (#7773) Issues: #7749 --- src/common/FrameManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/FrameManager.ts b/src/common/FrameManager.ts index f9fc0964cd0..80722450a14 100644 --- a/src/common/FrameManager.ts +++ b/src/common/FrameManager.ts @@ -449,7 +449,7 @@ export class FrameManager extends EventEmitter { } } const context = new ExecutionContext( - frame._client || this._client, + frame?._client || this._client, contextPayload, world );