From 50021bdeaa1afbe79f614b2a15bb01534c204fb7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 4 Nov 2014 16:55:28 +0100 Subject: [PATCH] [Debug] No gc_collect_cycles(), it's costly and can segfault --- src/Symfony/Component/Debug/ErrorHandler.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index f6c043287b17b..458cb317717d2 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -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();