From 1e5edea8555131b68efe3d519f5a574f8a3843df Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Tue, 26 Oct 2021 14:43:59 +0200 Subject: [PATCH] ringer: Disconnect signal handlers on dispose --- src/calls-ringer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calls-ringer.c b/src/calls-ringer.c index 7d2928b..2f8e301 100644 --- a/src/calls-ringer.c +++ b/src/calls-ringer.c @@ -277,6 +277,7 @@ dispose (GObject *object) g_clear_object (&self->event); lfb_uninit (); } + g_signal_handlers_disconnect_by_data (calls_manager_get_default (), self); G_OBJECT_CLASS (calls_ringer_parent_class)->dispose (object); }