ladybird/Libraries/LibWebView/EventLoop
Zaggy1024 b572ae95a9 LibCore+LibWeb: Remove the dummy EventReceiver from deferred_invoke()
The DeferredInvocationContext only existed to satisfy the requirement
in ThreadEventQueue that each event has an EventReceiver. However,
deferred_invoke() was not even using the EventReceiver to call its
callback. Therefore, we don't need to allocate one for every deferred
invocation.

This also prevents WeakPtr::strong_ref() from racing and leaking the
context object when invoking a function across threads.
2025-12-02 21:21:03 -06:00
..
EventLoopImplementationMacOS.h LibCore+LibWeb: Remove the dummy EventReceiver from deferred_invoke() 2025-12-02 21:21:03 -06:00
EventLoopImplementationMacOS.mm LibCore+LibWeb: Remove the dummy EventReceiver from deferred_invoke() 2025-12-02 21:21:03 -06:00
EventLoopImplementationQt.cpp LibCore+LibWeb: Remove the dummy EventReceiver from deferred_invoke() 2025-12-02 21:21:03 -06:00
EventLoopImplementationQt.h LibCore+LibWeb: Remove the dummy EventReceiver from deferred_invoke() 2025-12-02 21:21:03 -06:00
EventLoopImplementationQtEventTarget.cpp LibWebView+Services+UI: Move the EventLoop implementations to LibWebView 2024-11-11 07:35:43 -05:00
EventLoopImplementationQtEventTarget.h LibWebView+Services+UI: Move the EventLoop implementations to LibWebView 2024-11-11 07:35:43 -05:00