Browse files

Merge pull request #2 from vatson/fixes

Memory leaks
  • Loading branch information...
2 parents e06d1ed + ae22558 commit 0c050e3138666ddc1bb05dc892a214dea7bd649b @jessegreathouse jessegreathouse committed Aug 5, 2011
Showing with 1 addition and 2 deletions.
  1. +0 −1 Daemon.php
  2. +1 −1 Service/ExampleControl.php
View
1 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;
View
2 Service/ExampleControl.php
@@ -1,6 +1,6 @@
<?php
-namespace CodeMeme\Bundle\CodeMemeDaemonBundle;
+namespace CodeMeme\Bundle\CodeMemeDaemonBundle\Service;
class ExampleControl
{

0 comments on commit 0c050e3

Please sign in to comment.