Skip to content

Commit 25c08a8

Browse files
committed
avoid doing a stream_select on a closed stream
1 parent 823e330 commit 25c08a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

run-tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null)
10881088
fwrite($pipes[0], $stdin);
10891089
}
10901090
fclose($pipes[0]);
1091+
unset($pipes[0]);
10911092

10921093
$timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);
10931094

0 commit comments

Comments
 (0)