From 3692ddab1d392b87319fc68b711e4562877cb3c3 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 19 Oct 2016 22:08:44 +0100 Subject: [PATCH] Remove duplicate call to gc_collect_cycles This is already done in forceShutdown(), and if it is not then the process will have committed suicide and this will never be called anyway. Either way, it's useless. --- src/pocketmine/Server.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/Server.php b/src/pocketmine/Server.php index cc75168cc..432f82749 100644 --- a/src/pocketmine/Server.php +++ b/src/pocketmine/Server.php @@ -2042,8 +2042,6 @@ class Server{ $this->tickProcessor(); $this->forceShutdown(); - - gc_collect_cycles(); } public function handleSignal($signo){