1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-05-14 09:09:28 +00:00

contacts-provider: Disconnect signals on finalize

This commit is contained in:
Evangelos Ribeiro Tzaras 2023-04-14 07:30:59 +02:00
parent c7ba302b18
commit f7dd62c0bd

View file

@ -278,6 +278,9 @@ calls_contacts_provider_finalize (GObject *object)
{
CallsContactsProvider *self = CALLS_CONTACTS_PROVIDER (object);
if (self->contacts_action_group)
g_signal_handlers_disconnect_by_data (self->contacts_action_group, self);
g_clear_handle_id (&self->bus_watch_id, g_bus_unwatch_name);
g_clear_object (&self->contacts_action_group);
g_clear_object (&self->folks_aggregator);