mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-15 00:36:19 +01:00
Merge branch 'wip/lantw/fix-gtestdbus-crash-on-freebsd'
Manually rebased. https://gitlab.gnome.org/GNOME/glib/merge_requests/251
This commit is contained in:
commit
769326e1f1
@ -179,7 +179,7 @@ watch_parent (gint fd)
|
|||||||
if (num_events == 0)
|
if (num_events == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (fds[0].revents == G_IO_HUP)
|
if (fds[0].revents & G_IO_HUP)
|
||||||
{
|
{
|
||||||
/* Parent quit, cleanup the mess and exit */
|
/* Parent quit, cleanup the mess and exit */
|
||||||
for (n = 0; n < pids_to_kill->len; n++)
|
for (n = 0; n < pids_to_kill->len; n++)
|
||||||
|
Loading…
Reference in New Issue
Block a user