[Process] Fix input reset in WindowsPipes
Unsetting the input property causes an E_NOTICE error when the property is checked on line 249 (and is likely unintentional anyway).
This commit is contained in:
parent
eabc9b8901
commit
4e941e3d2d
@ -230,7 +230,7 @@ class WindowsPipes extends AbstractPipes
|
||||
if (false === $data || (true === $close && feof($r['input']) && '' === $data)) {
|
||||
// no more data to read on input resource
|
||||
// use an empty buffer in the next reads
|
||||
unset($this->input);
|
||||
$this->input = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user