Skip to content

Commit

Permalink
Fix FrameSession.executionContextForID
Browse files Browse the repository at this point in the history
There was a typo for which the frame session's parent was being
accessed instead of the calling frame itself.
  • Loading branch information
ka3de committed Aug 23, 2023
1 parent f8f9bfb commit 3d28877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/frame_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3d28877

Please sign in to comment.