From 8ccab44514f691e1e60cbc1ab86779cb7f31c36d Mon Sep 17 00:00:00 2001 From: Joop Schilder Date: Wed, 16 Jan 2019 17:19:40 +0100 Subject: [PATCH] Removed signal handlers --- src/Asynchronous.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Asynchronous.php b/src/Asynchronous.php index 45e12f5..9e44c52 100644 --- a/src/Asynchronous.php +++ b/src/Asynchronous.php @@ -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(); - }); } } \ No newline at end of file