mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb: Make HTML::Timer GC-allocated
These are the timers used internally by setTimeout() and setInterval().
This commit is contained in:
parent
c569c88e63
commit
c7ac82ec33
4 changed files with 26 additions and 11 deletions
|
@ -118,6 +118,8 @@ void Window::visit_edges(JS::Cell::Visitor& visitor)
|
|||
visitor.visit(it.value);
|
||||
for (auto& it : m_constructors)
|
||||
visitor.visit(it.value);
|
||||
for (auto& it : m_timers)
|
||||
visitor.visit(it.value.ptr());
|
||||
}
|
||||
|
||||
Window::~Window() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue