1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-10 05:45:32 +00:00

manager: Respect object life cycle for signal handlers

Don't call signal handlers after the manager has been disposed.
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-03-16 11:23:36 +01:00
parent f9d238f988
commit 93ff933569

View file

@ -365,10 +365,11 @@ add_origin (CallsManager *self, CallsOrigin *origin)
g_list_store_append (self->origins, origin);
g_signal_connect (origin,
g_signal_connect_object (origin,
"message",
G_CALLBACK (on_message),
self);
self,
G_CONNECT_AFTER);
g_signal_connect_object (origin,
"notify::country-code",