Skip to content

Commit

Permalink
Remove unnecessary copying
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Oct 10, 2024
1 parent 0d65dbb commit 6835822
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ func (p *Page) onConsoleAPICalled(event *cdpruntime.EventConsoleAPICalled) {
p.eventHandlersMu.RLock()
defer p.eventHandlersMu.RUnlock()
for _, h := range p.eventHandlers[EventPageConsoleAPICalled] {
h := h
h(PageOnEvent{
ConsoleMessage: m,
})
Expand Down

0 comments on commit 6835822

Please sign in to comment.