Do not bypass the view renderer when rendering benchmarks

fixes #9402
This commit is contained in:
Johannes Meyer 2015-06-22 13:56:41 +02:00
parent 6d48de6cf5
commit 2e375dd57c

View File

@ -505,7 +505,7 @@ class ActionController extends Zend_Controller_Action
*/ */
protected function renderBenchmark() protected function renderBenchmark()
{ {
$this->render(); $this->_helper->viewRenderer->postDispatch();
Benchmark::measure('Response ready'); Benchmark::measure('Response ready');
return Benchmark::renderToHtml(); return Benchmark::renderToHtml();
} }