Skip to content

Commit

Permalink
LibWeb: Explicitly ignore PageClient::m_console_clients
Browse files Browse the repository at this point in the history
This map is managed entirely by manual insertion/removal when a document
is created/destroyed, so we should just ignore it in visit_edges().
  • Loading branch information
awesomekling committed Apr 24, 2024
1 parent d460537 commit bb36eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Userland/Services/WebContent/PageClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ void PageClient::visit_edges(JS::Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_page);
visitor.ignore(m_console_clients);
}

ConnectionFromClient& PageClient::client() const
Expand Down

0 comments on commit bb36eb3

Please sign in to comment.