Skip to content

Commit ad93a67

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Finder] Partially revert #17134 to fix a regression [HttpKernel] Fix mem usage when stripping the prod container exception when registering bags for started sessions Conflicts: src/Symfony/Component/Validator/composer.json
2 parents 812a81a + 8d2d50d commit ad93a67

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Kernel.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,10 +663,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
663663
$dumper->setProxyDumper(new ProxyDumper(md5($cache->getPath())));
664664
}
665665

666-
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath()));
667-
if (!$this->debug) {
668-
$content = static::stripComments($content);
669-
}
666+
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath(), 'debug' => $this->debug));
670667

671668
$cache->write($content, $container->getResources());
672669
}

0 commit comments

Comments
 (0)