gc code cleanup

This commit is contained in:
Steffen Schröder 2014-05-12 19:56:21 +02:00
parent 7a18d7e20c
commit 07d0016151

View File

@ -304,10 +304,6 @@ class ManiaControl implements CommandListener, TimerListener {
$this->errorHandler->handleShutdown(); $this->errorHandler->handleShutdown();
// Disable Garbage Collector
$this->collectGarbage();
gc_disable();
$this->log('Quitting ManiaControl!'); $this->log('Quitting ManiaControl!');
exit(); exit();
} }
@ -316,7 +312,8 @@ class ManiaControl implements CommandListener, TimerListener {
* Collect Garbage * Collect Garbage
*/ */
public function collectGarbage() { public function collectGarbage() {
gc_collect_cycles(); // TODO: remove after a check of the influence
// gc_collect_cycles();
} }
/** /**