mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Explicitly ignore PageClient::m_console_clients
This map is managed entirely by manual insertion/removal when a document is created/destroyed, so we should just ignore it in visit_edges().
This commit is contained in:
parent
f60d82eb85
commit
c186ab96ac
Notes:
sideshowbarker
2024-07-17 08:13:43 +09:00
Author: https://github.com/awesomekling
Commit: c186ab96ac
Pull-request: https://github.com/SerenityOS/serenity/pull/24095
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ void PageClient::visit_edges(JS::Cell::Visitor& visitor)
|
||||||
{
|
{
|
||||||
Base::visit_edges(visitor);
|
Base::visit_edges(visitor);
|
||||||
visitor.visit(m_page);
|
visitor.visit(m_page);
|
||||||
|
visitor.ignore(m_console_clients);
|
||||||
}
|
}
|
||||||
|
|
||||||
ConnectionFromClient& PageClient::client() const
|
ConnectionFromClient& PageClient::client() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue