Removed signal handlers
This commit is contained in:
parent
89e5101ecd
commit
8ccab44514
@ -235,18 +235,6 @@ class Asynchronous
|
||||
self::removedShmBlock();
|
||||
});
|
||||
|
||||
/*
|
||||
* The signal handler
|
||||
*/
|
||||
foreach ([SIGINT, SIGTERM] as $SIGNAL)
|
||||
pcntl_signal($SIGNAL, function ($signal) use (&$instance) {
|
||||
if ($instance->isChild)
|
||||
return;
|
||||
|
||||
self::killChildren();
|
||||
self::awaitChildren();
|
||||
self::removedShmBlock();
|
||||
});
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user