[calls] ringer: Disconnect signal handlers on dispose



commit 1e5edea8555131b68efe3d519f5a574f8a3843df
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Tue Oct 26 14:43:59 2021 +0200

    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 7d2928b4..2f8e301d 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);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]