Skip to content

Commit

Permalink
Do not bypass the view renderer when rendering benchmarks
Browse files Browse the repository at this point in the history
fixes #9402
  • Loading branch information
Johannes Meyer committed Jun 22, 2015
1 parent 6d48de6 commit 2e375dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Web/Controller/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ protected function shutdownSession()
*/
protected function renderBenchmark()
{
$this->render();
$this->_helper->viewRenderer->postDispatch();
Benchmark::measure('Response ready');
return Benchmark::renderToHtml();
}
Expand Down

0 comments on commit 2e375dd

Please sign in to comment.