Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Remove dispose from frame_manager
Browse files Browse the repository at this point in the history
This is no longer needed since it's only just logging a debug log.
  • Loading branch information
ankur22 committed Nov 11, 2022
1 parent 641b0c6 commit c199c80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions common/frame_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ func (m *FrameManager) removeBarrier(b *Barrier) {
m.barriers = append(m.barriers[:index], m.barriers[index+1:]...)
}

func (m *FrameManager) dispose() {
m.logger.Debugf("FrameManager:dispose", "fmid:%d", m.ID())
}

func (m *FrameManager) frameAbortedNavigation(frameID cdp.FrameID, errorText, documentID string) {
m.logger.Debugf("FrameManager:frameAbortedNavigation",
"fmid:%d fid:%v err:%s docid:%s",
Expand Down
1 change: 0 additions & 1 deletion common/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ func (p *Page) didClose() {
func (p *Page) didCrash() {
p.logger.Debugf("Page:didCrash", "sid:%v", p.sessionID())

p.frameManager.dispose()
p.emit(EventPageCrash, p)
}

Expand Down

0 comments on commit c199c80

Please sign in to comment.