Removed signal handlers

This commit is contained in:
Joop Schilder 2019-01-16 17:19:40 +01:00
parent 89e5101ecd
commit 8ccab44514
1 changed files with 0 additions and 12 deletions

View File

@ -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();
});
}
}