mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
LibGUI: Make event receivers be weak pointers.
This commit is contained in:
@@ -76,6 +76,6 @@ void GObject::stop_timer()
|
||||
|
||||
void GObject::delete_later()
|
||||
{
|
||||
GEventLoop::main().post_event(this, make<GEvent>(GEvent::DeferredDestroy));
|
||||
GEventLoop::main().post_event(*this, make<GEvent>(GEvent::DeferredDestroy));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user