LibWeb: Remove unnecessary VERIFY from EventLoopPlugin's deferred_invoke

This commit is contained in:
Andrew Kaster 2025-04-29 16:02:07 -06:00 committed by Tim Flynn
parent b50d03f42e
commit b4f34ee860
Notes: github-actions[bot] 2025-04-30 15:13:41 +00:00

View file

@ -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()();
});