Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8cbe646

Browse filesBrowse files
bug #50963 [Messenger] do not listen to signals if the pcntl extension is missing (xabbuh)
This PR was merged into the 6.3 branch. Discussion ---------- [Messenger] do not listen to signals if the pcntl extension is missing | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- dfc90f0 do not listen to signals if the pcntl extension is missing
2 parents 844b1d9 + dfc90f0 commit 8cbe646
Copy full SHA for 8cbe646

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Messenger/EventListener/StopWorkerOnSigtermSignalListener.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/EventListener/StopWorkerOnSigtermSignalListener.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ class StopWorkerOnSigtermSignalListener extends StopWorkerOnSignalsListener
2424
{
2525
public function __construct(LoggerInterface $logger = null)
2626
{
27-
parent::__construct([SIGTERM], $logger);
27+
parent::__construct(\defined('SIGTERM') ? [SIGTERM] : [], $logger);
2828
}
2929
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.