LibCore: Stop obsessing about tiny OOMs in Core::Timer

Work towards #20405
This commit is contained in:
Andreas Kling 2024-04-16 20:34:01 +02:00
commit 1cb5385a29
Notes: sideshowbarker 2024-07-16 21:39:23 +09:00
52 changed files with 111 additions and 113 deletions

View file

@ -19,9 +19,9 @@ struct AnimationFrameCallbackDriver {
AnimationFrameCallbackDriver()
{
m_timer = MUST(Core::Timer::create_single_shot(16, [] {
m_timer = Core::Timer::create_single_shot(16, [] {
HTML::main_thread_event_loop().schedule();
}));
});
}
i32 add(Callback handler)