From 3089d3fc7ddead11565fa7aa3d7ed7fdd8870c62 Mon Sep 17 00:00:00 2001 From: ka3de Date: Wed, 23 Aug 2023 15:49:04 +0200 Subject: [PATCH] Fix FrameSession.executionContextForID There was a typo for which the frame session's parent was being accessed instead of the calling frame itself. --- common/frame_session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/frame_session.go b/common/frame_session.go index 5232b96fc..c135f87ad 100644 --- a/common/frame_session.go +++ b/common/frame_session.go @@ -1091,7 +1091,7 @@ func (fs *FrameSession) executionContextForID( //nolint:unused fs.contextIDToContextMu.Lock() defer fs.contextIDToContextMu.Unlock() - if exc, ok := fs.parent.contextIDToContext[executionContextID]; ok { + if exc, ok := fs.contextIDToContext[executionContextID]; ok { return exc, nil }