Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should check pcntl_wifexited first before pcntl_wexitstatus #375

Open
Jinglever opened this issue Mar 26, 2019 · 0 comments
Open

should check pcntl_wifexited first before pcntl_wexitstatus #375

Jinglever opened this issue Mar 26, 2019 · 0 comments

Comments

@Jinglever
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant