From 8281a0fecb2be8f7711f1c51a713050e6935cb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 22 Jun 2022 10:21:56 +0800 Subject: [PATCH] modify plugin name --- Abstracts/CoroutineServer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Abstracts/CoroutineServer.php b/Abstracts/CoroutineServer.php index 5d33bd8..98fa7b2 100644 --- a/Abstracts/CoroutineServer.php +++ b/Abstracts/CoroutineServer.php @@ -17,6 +17,7 @@ use Psr\Log\LoggerInterface; use Swoole\Coroutine; use Swoole\Http\Request; use Swoole\Http\Response; +use Swoole\Process; use Swoole\Server; use function Swoole\Coroutine\run; @@ -197,6 +198,7 @@ class CoroutineServer implements ServerInterface }); } }); + Process::wait(); }