Do not auto close sockets in child

This commit is contained in:
Aaron Piotrowski
2017-03-16 17:11:49 -05:00
parent 6a8eb2130e
commit 7f592265d0

View File

@@ -174,7 +174,7 @@ class Fork implements Process, Strand {
try { try {
Loop::run(function () use ($parent) { Loop::run(function () use ($parent) {
$channel = new ChannelledSocket($parent, $parent); $channel = new ChannelledSocket($parent, $parent, false);
return $this->execute($channel); return $this->execute($channel);
}); });
$code = 0; $code = 0;