1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 05:15:36 +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 3553071b44
commit 7b81f86afe

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;
}