From 07d0016151b39a7d82fa607ea3006e0572d7ad79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Mon, 12 May 2014 19:56:21 +0200 Subject: [PATCH] gc code cleanup --- application/core/ManiaControl.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 04e14a1d..1f5cfd29 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -304,10 +304,6 @@ class ManiaControl implements CommandListener, TimerListener { $this->errorHandler->handleShutdown(); - // Disable Garbage Collector - $this->collectGarbage(); - gc_disable(); - $this->log('Quitting ManiaControl!'); exit(); } @@ -316,7 +312,8 @@ class ManiaControl implements CommandListener, TimerListener { * Collect Garbage */ public function collectGarbage() { - gc_collect_cycles(); + // TODO: remove after a check of the influence + // gc_collect_cycles(); } /**