Add signal to function signature
This commit is contained in:
parent
d40f5d940a
commit
89e5101ecd
@ -239,7 +239,7 @@ class Asynchronous
|
||||
* The signal handler
|
||||
*/
|
||||
foreach ([SIGINT, SIGTERM] as $SIGNAL)
|
||||
pcntl_signal($SIGNAL, function () use (&$instance) {
|
||||
pcntl_signal($SIGNAL, function ($signal) use (&$instance) {
|
||||
if ($instance->isChild)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user