From 1e65c0f83c96ad355c8dbc553e51f0b3f4b06c67 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Mar 2021 16:26:39 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index ffb17ae5..1383eef9 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -36,8 +36,9 @@ class Shutdown extends Component */ public function shutdown(): void { + clearstatcache(storage()); $master_pid = Server()->setting['pid_file'] ?? PID_PATH; - clearstatcache($master_pid); + var_dump($master_pid); if (file_exists($master_pid)) { $this->close($master_pid); }