From 3d172c5018832d719a4ecebdacd468b16b9a5769 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Mar 2021 16:32:20 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index 7e2d1742..65425939 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -38,7 +38,6 @@ class Shutdown extends Component { clearstatcache(storage()); $master_pid = Server()->setting['pid_file'] ?? PID_PATH; - var_dump($master_pid); if (file_exists($master_pid)) { $this->close($master_pid); } @@ -125,7 +124,7 @@ class Shutdown extends Component fclose($resource); while ($this->pidIsExists($content)) { -// exec('kill -15 ' . $content); + exec('kill -15 ' . $content); sleep(1); }