mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibCore: Stop obsessing about tiny OOMs in Core::Timer
Work towards #20405
This commit is contained in:
parent
bf1c82724f
commit
1cb5385a29
Notes:
sideshowbarker
2024-07-16 21:39:23 +09:00
Author: https://github.com/awesomekling
Commit: 1cb5385a29
Pull-request: https://github.com/SerenityOS/serenity/pull/23988
52 changed files with 111 additions and 113 deletions
|
@ -26,7 +26,7 @@ Timer::Timer(JS::Object& window_or_worker_global_scope, i32 milliseconds, JS::No
|
|||
{
|
||||
m_timer = Core::Timer::create_single_shot(milliseconds, [this] {
|
||||
m_callback->function()();
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
});
|
||||
}
|
||||
|
||||
void Timer::visit_edges(Cell::Visitor& visitor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue