mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
✏️ 优化 updater reg 关闭逻辑
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user