Skip to content

Commit

Permalink
Add a fix as a test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Jun 21, 2023
1 parent 480c0c1 commit 9127334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/frame_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ func (m *FrameManager) frameNavigated(frameID cdp.FrameID, parentFrameID cdp.Fra
m.ID(), frameID, parentFrameID, documentID, name, url, initial)

if frame != nil {
m.framesMu.Unlock()
for _, child := range frame.ChildFrames() {
m.removeFramesRecursively(child.(*Frame))
}
m.framesMu.Lock()
}

var mainFrame *Frame
Expand Down

0 comments on commit 9127334

Please sign in to comment.