This is what I intended to do before.
https://bugzilla.gnome.org/show_bug.cgi?id=652072
g_warning ("Invalid char '%c' read from child watch pipe", b[i]);
break;
}
- if (sigterm_received)
- deliver_unix_signal (SIGTERM);
- if (sigint_received)
- deliver_unix_signal (SIGINT);
- if (sighup_received)
- deliver_unix_signal (SIGHUP);
- _g_main_wake_up_all_contexts ();
}
+ if (sigterm_received)
+ deliver_unix_signal (SIGTERM);
+ if (sigint_received)
+ deliver_unix_signal (SIGINT);
+ if (sighup_received)
+ deliver_unix_signal (SIGHUP);
+ if (sigchld_received)
+ deliver_sigchld ();
+ _g_main_wake_up_all_contexts ();
}
}