fix: null check for frame in FrameManager (#7773)

Issues: #7749
This commit is contained in:
Alex Rudenko 2021-11-15 14:33:45 +01:00 committed by GitHub
parent fc94a28778
commit 23ee295f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -449,7 +449,7 @@ export class FrameManager extends EventEmitter {
} }
} }
const context = new ExecutionContext( const context = new ExecutionContext(
frame._client || this._client, frame?._client || this._client,
contextPayload, contextPayload,
world world
); );