Skip to content

Commit

Permalink
[Debug] No gc_collect_cycles(), it's costly and can segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 6, 2014
1 parent b592e90 commit 50021bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Symfony/Component/Debug/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ public function handleException(\Exception $exception, array $error = null)
public static function handleFatalError(array $error = null)
{
self::$reservedMemory = '';
gc_collect_cycles();
$handler = set_error_handler('var_dump', 0);
$handler = is_array($handler) ? $handler[0] : null;
restore_error_handler();
Expand Down

0 comments on commit 50021bd

Please sign in to comment.