Issue #18747: Use a parent atfork handler instead of a child atfork handler.
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
C
Christian Heimes committed
80c5de93f99f348553346f15a697c1acc0b9c612
Parent: 00ae435