10000 [HttpKernel] Fix compile error when a legacy container is fresh again · symfony/symfony@8c3eadb · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c3eadb

Browse files
[HttpKernel] Fix compile error when a legacy container is fresh again
1 parent 5f05774 commit 8c3eadb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
851851
$fs->dumpFile($dir.$file, $code);
852852
@chmod($dir.$file, 0666 & ~umask());
853853
}
854+
@unlink(dirname($dir.$file).'.legacy');
854855

855856
$cache->write($rootCode, $container->getResources());
856857
}

0 commit comments

Comments
 (0)
0