This commit is contained in:
2020-11-11 10:51:11 +08:00
parent 2e04f5a9b7
commit 559eed8c6c
+2
View File
@@ -52,6 +52,7 @@ trait Action
} else {
$pathId = file_get_contents($socket);
@unlink($socket);
clearstatcache($socket);
if (empty($pathId)) {
$this->close($server);
@@ -102,6 +103,7 @@ trait Action
$this->closeByPid($content);
} else {
@unlink($file->getRealPath());
clearstatcache($file->getRealPath());
}
}
return true;