[Debug] No gc_collect_cycles(), it's costly and can segfault

This commit is contained in:
Nicolas Grekas 2014-11-04 16:55:28 +01:00
parent b592e90177
commit 50021bdeaa

View File

@ -487,7 +487,6 @@ class ErrorHandler
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();