From ae2255845b4da47b00e1cf52578e56d7f639009d Mon Sep 17 00:00:00 2001 From: Vadim Tyukov Date: Thu, 4 Aug 2011 20:08:19 +0300 Subject: [PATCH] Removed System_Daemon::setOptions from isRunning method. It had caused memory leaks --- Daemon.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Daemon.php b/Daemon.php index e6f38e3..9ce1c13 100644 --- a/Daemon.php +++ b/Daemon.php @@ -133,7 +133,6 @@ public function iterate($sec) { public function isRunning() { - System_Daemon::setOptions($this->getConfig()); if (!System_Daemon::isDying() && $this->_pid != null && $this->_pid == $this->getPid()) { System_Daemon::iterate($this->_interval); return true;