[calls] ringer: Cancel any ongoing actions on shutdown
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] ringer: Cancel any ongoing actions on shutdown
- Date: Tue, 20 Sep 2022 10:39:02 +0000 (UTC)
commit 8c6d64ddaf6a9be3a25987bcbd43f80e24aa7a87
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Thu Aug 18 21:12:11 2022 +0200
ringer: Cancel any ongoing actions on shutdown
src/calls-ringer.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/calls-ringer.c b/src/calls-ringer.c
index ca656257..1bed242f 100644
--- a/src/calls-ringer.c
+++ b/src/calls-ringer.c
@@ -467,6 +467,9 @@ dispose (GObject *object)
g_clear_handle_id (&self->restart_id, g_source_remove);
+ g_cancellable_cancel (self->cancel_ring);
+ g_clear_object (&self->cancel_ring);
+
G_OBJECT_CLASS (calls_ringer_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]