mirror of
https://github.com/amphp/parallel.git
synced 2025-07-24 23:11:52 +02:00
Do not auto close sockets in child
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user