mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-01 08:48:49 +00:00
LibCore+Ladybird: Don't store timer_id in Core::TimerEvent
This commit is contained in:
parent
cdc0c9f094
commit
21097d1c9e
Notes:
sideshowbarker
2024-07-17 02:55:44 +09:00
Author: https://github.com/DanShaders
Commit: 21097d1c9e
Pull-request: https://github.com/SerenityOS/serenity/pull/23149
Reviewed-by: https://github.com/ADKaster ✅
4 changed files with 8 additions and 13 deletions
|
@ -244,7 +244,7 @@ try_select_again:
|
|||
}
|
||||
|
||||
if (owner)
|
||||
ThreadEventQueue::current().post_event(*owner, make<TimerEvent>(timer.timer_id));
|
||||
ThreadEventQueue::current().post_event(*owner, make<TimerEvent>());
|
||||
if (timer.should_reload) {
|
||||
timer.reload(now);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue