From 865c90a85aaac42c0a60d535d2a6ba27c3fad85b Mon Sep 17 00:00:00 2001 From: fumiama Date: Tue, 14 Dec 2021 12:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E4=BC=98=E5=8C=96=20up?= =?UTF-8?q?dater=20reg=20=E5=85=B3=E9=97=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/file/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/file/updater.go b/utils/file/updater.go index 2334208b..9af15c64 100644 --- a/utils/file/updater.go +++ b/utils/file/updater.go @@ -43,9 +43,9 @@ func GetLazyData(path string, isReturnDataBytes, isDataMustEqual bool) ([]byte, } else { filemd5 = (*[16]byte)(*(*unsafe.Pointer)(unsafe.Pointer(&ms))) logrus.Infoln("[file]从验证服务器获得文件md5:", hex.EncodeToString(filemd5[:])) - _ = registry.Close() } } + _ = registry.Close() lzmu.Unlock() if IsExist(path) {