mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Deallocate DOM timer ID's when the timer goes away
I left a page open overnight and it had run out of timer ID's. :^)
This commit is contained in:
parent
8b194f41e9
commit
113da74683
3 changed files with 7 additions and 0 deletions
|
@ -74,6 +74,7 @@ public:
|
|||
void set_wrapper(Badge<Bindings::WindowObject>, Bindings::WindowObject&);
|
||||
|
||||
i32 allocate_timer_id(Badge<Timer>);
|
||||
void deallocate_timer_id(Badge<Timer>, i32);
|
||||
void timer_did_fire(Badge<Timer>, Timer&);
|
||||
|
||||
HighResolutionTime::Performance& performance() { return *m_performance; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue