Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c6fcec

Browse files
committed
[output-stream] Do not close stream for twig subrequests
1 parent 27e8732 commit 8c6fcec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/HttpKernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public function render($controller, array $options = array())
173173

174174
$response->setOutputStream($outputStream);
175175
$response->sendContent();
176-
$outputStream->close();
177176
} catch (\Exception $e) {
178177
if ($options['alt']) {
179178
$alt = $options['alt'];

0 commit comments

Comments
 (0)