1
Fork 0
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:
Andreas Kling 2022-09-01 12:21:47 +02:00
parent c569c88e63
commit c7ac82ec33
4 changed files with 26 additions and 11 deletions

View file

@ -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;