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:
parent
3553071b44
commit
7b81f86afe
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue