mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOr
The FIXMEs must flow!
This commit is contained in:
parent
1d4f287582
commit
a15d44f019
12 changed files with 19 additions and 17 deletions
|
@ -786,7 +786,7 @@ void Editor::create_tokens_info_timer()
|
|||
m_tokens_info_timer = Core::Timer::create_repeating((int)token_info_timer_interval_ms, [this] {
|
||||
on_token_info_timer_tick();
|
||||
m_tokens_info_timer->stop();
|
||||
});
|
||||
}).release_value_but_fixme_should_propagate_errors();
|
||||
m_tokens_info_timer->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue