✏️ 优化 updater reg 关闭逻辑

This commit is contained in:
fumiama 2021-12-14 12:00:44 +08:00
parent c9b06a4fa8
commit 865c90a85a

View File

@ -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()
}
}
lzmu.Unlock()
if IsExist(path) {