[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:
Mikael Pajunen 2015-01-07 00:47:52 +02:00
parent eabc9b8901
commit 4e941e3d2d

View File

@ -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;
}
}