mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
ringer: Cancel any ongoing actions on shutdown
This commit is contained in:
parent
97626c467f
commit
8c6d64ddaf
1 changed files with 3 additions and 0 deletions
|
@ -467,6 +467,9 @@ dispose (GObject *object)
|
||||||
|
|
||||||
g_clear_handle_id (&self->restart_id, g_source_remove);
|
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);
|
G_OBJECT_CLASS (calls_ringer_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue