8000 removed obsolete code · symfony/symfony@8d25319 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d25319

Browse files
committed
removed obsolete code
1 parent 19c6639 commit 8d25319

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,6 @@ public static function stripComments($source)
827827

828828
$output .= $rawChunk;
829829

830-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
831830
unset($tokens, $rawChunk);
832831
gc_mem_caches();
833832

src/Symfony/Component/Routing/Loader/AnnotationFileLoader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public function load($file, $type = null)
6060
$collection->addCollection($this->loader->load($class, $type));
6161
}
6262

63-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
6463
gc_mem_caches();
6564

6665
return $collection;

src/Symfony/Component/Translation/Extractor/PhpExtractor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function extract($resource, MessageCatalogue $catalog)
8383
foreach ($files as $file) {
8484
$this->parseTokens(token_get_all(file_get_contents($file)), $catalog);
8585

86-
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
8786
gc_mem_caches();
8887
}
8988
}

0 commit comments

Comments
 (0)
0