Commit b02fd523 by Koen Schmeets

Fixing a bug that would stop the script execution before the laravel.done event…

Fixing a bug that would stop the script execution before the laravel.done event has been fired for php-fastcgi users

Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
parent 80386977
...@@ -179,3 +179,7 @@ $response->send(); ...@@ -179,3 +179,7 @@ $response->send();
*/ */
Event::fire('laravel.done', array($response)); Event::fire('laravel.done', array($response));
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}
\ No newline at end of file
...@@ -292,10 +292,6 @@ class Response ...@@ -292,10 +292,6 @@ class Response
$this->sendHeaders(); $this->sendHeaders();
$this->sendContent(); $this->sendContent();
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}
return $this; return $this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment