diff --git a/src/rpc/File.php b/src/rpc/File.php
index <HASH>..<HASH> 100644
--- a/src/rpc/File.php
+++ b/src/rpc/File.php
@@ -6,27 +6,15 @@ use Throwable;
 
 class File extends \think\File
 {
-    protected $persistent = false;
-
-    /**
-     * 持久化该文件
-     */
-    public function persists()
-    {
-        $this->persistent = true;
-    }
-
     public function __destruct()
     {
         //销毁时删除临时文件
-        if ($this->persistent) {
-            try {
-                if (file_exists($this->getPathname())) {
-                    unlink($this->getPathname());
-                }
-            } catch (Throwable $e) {
-
+        try {
+            if (file_exists($this->getPathname())) {
+                unlink($this->getPathname());
             }
+        } catch (Throwable $e) {
+
         }
     }
 }
还原rpc\File