This commit is contained in:
2021-03-01 15:35:17 +08:00
parent 286db01295
commit 179a50d587
+3
View File
@@ -51,6 +51,9 @@ trait Action
private function _shutdown($server)
{
$content = file_get_contents($this->getPidFile());
if (!file_exists($content)) {
return;
}
if (empty($content)) {
$this->close($server);
} else {