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>
This commit is contained in:
Koen Schmeets 2012-05-24 02:01:24 +02:00
parent 80386977aa
commit b02fd5232c
2 changed files with 5 additions and 5 deletions

View File

@ -179,3 +179,7 @@
*/
Event::fire('laravel.done', array($response));
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}

View File

@ -292,10 +292,6 @@ public function send()
$this->sendHeaders();
$this->sendContent();
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}
return $this;
}