Fix undefined variable $child on non-forking operating systems

This commit is contained in:
chris.boulton 2011-03-27 16:01:56 +11:00
parent 34de8e4307
commit 25fac9a16a

View File

@ -53,6 +53,11 @@ class Resque_Worker
*/ */
private $currentJob = null; private $currentJob = null;
/**
* @var int Process ID of child worker processes.
*/
private $child = null;
/** /**
* Return all workers known to Resque as instantiated instances. * Return all workers known to Resque as instantiated instances.
*/ */