mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb: Remove unnecessary VERIFY from EventLoopPlugin's deferred_invoke
This commit is contained in:
parent
b50d03f42e
commit
b4f34ee860
Notes:
github-actions[bot]
2025-04-30 15:13:41 +00:00
Author: https://github.com/ADKaster
Commit: b4f34ee860
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4527
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ void EventLoopPluginSerenity::spin_until(GC::Root<GC::Function<bool()>> goal_con
|
|||
|
||||
void EventLoopPluginSerenity::deferred_invoke(GC::Root<GC::Function<void()>> function)
|
||||
{
|
||||
VERIFY(function);
|
||||
Core::deferred_invoke([function = move(function)]() {
|
||||
function->function()();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue