php-resque icon indicating copy to clipboard operation
php-resque copied to clipboard

should check pcntl_wifexited first before pcntl_wexitstatus

Open Jinglever opened this issue 6 years ago • 0 comments

In lib/Worker.php line:215 in Function work(): I think it should check pcntl_wifexited first before pcntl_wexitstatus. Because pcntl_wexitstatus is meaningless if pcntl_wifexited return false. For example, kill the child process would result in this case.

Jinglever avatar Mar 26 '19 12:03 Jinglever