This commit is contained in:
as2252258@163.com
2021-03-28 16:26:39 +08:00
parent 876dc960b2
commit 1e65c0f83c
+2 -1
View File
@@ -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);
}