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

@ -52,6 +52,11 @@ class Resque_Worker
* @var Resque_Job Current job, if any, being processed by this worker.
*/
private $currentJob = null;
/**
* @var int Process ID of child worker processes.
*/
private $child = null;
/**
* Return all workers known to Resque as instantiated instances.