mirror of https://github.com/MISP/MISP
fix: [bgjobs] Try to close pipes before proc_close
parent
4d9543d00a
commit
4959173af6
|
@ -89,7 +89,9 @@ class BackgroundJob implements JsonSerializable
|
|||
);
|
||||
|
||||
$this->output = stream_get_contents($pipes[1]);
|
||||
fclose($pipes[1]);
|
||||
$this->error = stream_get_contents($pipes[2]);
|
||||
fclose($pipes[2]);
|
||||
|
||||
$this->returnCode = proc_close($process);
|
||||
|
||||
|
|
Loading…
Reference in New Issue