Skip to content

Commit

Permalink
Removed System_Daemon::setOptions from isRunning method. It had cause…
Browse files Browse the repository at this point in the history
…d memory leaks
  • Loading branch information
vatson committed Aug 5, 2011
1 parent 2a44ece commit ae22558
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Daemon.php
Expand Up @@ -133,7 +133,6 @@ public function iterate($sec) {


public function isRunning() public function isRunning()
{ {
System_Daemon::setOptions($this->getConfig());
if (!System_Daemon::isDying() && $this->_pid != null && $this->_pid == $this->getPid()) { if (!System_Daemon::isDying() && $this->_pid != null && $this->_pid == $this->getPid()) {
System_Daemon::iterate($this->_interval); System_Daemon::iterate($this->_interval);
return true; return true;
Expand Down

0 comments on commit ae22558

Please sign in to comment.