10000 [Messenger] Double check if pcntl function exists by Toflar · Pull Request #57514 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Messenger] Double check if pcntl function exists #57514

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

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
Double check if pcntl function exists
  • Loading branch information
Toflar committed Jun 24, 2024
commit 765ecebd665744c766b810c007cc9034c673b1b6
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class DispatchPcntlSignalListener implements EventSubscriberInterface
{
public function onWorkerRunning(): void
{
if (!\function_exists('pcntl_signal_dispatch')) {
return;
}

pcntl_signal_dispatch();
}

Expand Down
0