1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-29 15:25:24 +00:00

application: Set unix signal handler source ID to 0

g_clear_signal_handle_id() will complain about unknown sources otherwise.
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-11 18:47:43 +01:00
parent 56891363cb
commit 177199467f

View file

@ -85,6 +85,8 @@ on_int_or_term_signal (CallsApplication *self)
g_debug ("Received SIGTERM/SIGINT, shutting down gracefully");
g_application_quit (G_APPLICATION (self));
self->id_sigint = 0;
self->id_sigterm = 0;
return G_SOURCE_REMOVE;
}