mirror of
https://github.com/amphp/parallel.git
synced 2025-07-23 14:31:23 +02:00
Do not auto close sockets in child
This commit is contained in:
@@ -174,7 +174,7 @@ class Fork implements Process, Strand {
|
||||
|
||||
try {
|
||||
Loop::run(function () use ($parent) {
|
||||
$channel = new ChannelledSocket($parent, $parent);
|
||||
$channel = new ChannelledSocket($parent, $parent, false);
|
||||
return $this->execute($channel);
|
||||
});
|
||||
$code = 0;
|
||||
|
Reference in New Issue
Block a user