Skip to content

Commit 50021bd

Browse files
[Debug] No gc_collect_cycles(), it's costly and can segfault
1 parent b592e90 commit 50021bd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ public function handleException(\Exception $exception, array $error = null)
487487
public static function handleFatalError(array $error = null)
488488
{
489489
self::$reservedMemory = '';
490-
gc_collect_cycles();
491490
$handler = set_error_handler('var_dump', 0);
492491
$handler = is_array($handler) ? $handler[0] : null;
493492
restore_error_handler();

0 commit comments

Comments
 (0)