Commit 6020eac5 authored by Leigh Stoller's avatar Leigh Stoller

Do an EventFork() in WrapperFork(), if the event system is loaded.

Avoids spurious reconnects to the event system.
parent c64e4442
......@@ -453,6 +453,11 @@ sub WrapperFork()
# Tell caller we are the parent,
return $mypid;
# We want to form new event handles in the child.
if (defined(&event::EventFork)) {
# Reset in the child so that we can WrapperFork() again.
$logforked = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment