Skip to content

Commit 8498059

Browse files
committed
Merge branch 'MAGETWO-32092-html-profiler-static-resource' into MAGETWO-34649-private-content-profiler
2 parents bb45cff + 5280d8d commit 8498059

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/App/StaticResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ public function __construct(
9999
*/
100100
public function launch()
101101
{
102+
// disabling profiling when retrieving static resource
103+
\Magento\Framework\Profiler::reset();
102104
$appMode = $this->state->getMode();
103105
if ($appMode == \Magento\Framework\App\State::MODE_PRODUCTION) {
104106
$this->response->setHttpResponseCode(404);

0 commit comments

Comments
 (0)