From c079cd52e6f7eb86b15566d1197c9b6f307127cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 10:26:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnWorkerStart.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 3873bbf6..a36bbcbc 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -45,10 +45,6 @@ class OnWorkerStart extends Callback } $this->debug(sprintf('%s #%d Pid:%d start.', ucfirst(env('environmental')), $worker_id, $server->worker_pid)); Coroutine\go([$this, 'onSignal'], $server, $worker_id); - Coroutine\go(function (Server $server) { - $result = Coroutine::waitPid($server->worker_pid, -1); - var_dump($result); - }, $server); }