8000 [Process] Fix input reset in WindowsPipes · symfony/symfony@4e941e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e941e3

Browse files
committed
[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).
1 parent eabc9b8 commit 4e941e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Process/Pipes/WindowsPipes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private function write($blocking, $close)
230230
if (false === $data || (true === $close && feof($r['input']) && '' === $data)) {
231231
// no more data to read on input resource
232232
// use an empty buffer in the next reads
233-
unset($this->input);
233+
$this->input = null;
234234
}
235235
}
236236

0 commit comments

Comments
 (0)
0