8000 bug #13297 [Process] Fix input reset in WindowsPipes (mpajunen) · symfony/symfony@77b68b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77b68b3

Browse files
committed
bug #13297 [Process] Fix input reset in WindowsPipes (mpajunen)
This PR was merged into the 2.6 branch. Discussion ---------- [Process] Fix input reset in WindowsPipes | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Unsetting the input property causes an E_NOTICE error when the prope 8000 rty is checked on line 249 (and is likely unintentional anyway). Commits ------- 4e941e3 [Process] Fix input reset in WindowsPipes
2 parents be0c312 + 4e941e3 commit 77b68b3

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