新模型

This commit is contained in:
马增飞
2025-12-05 17:33:00 +08:00
parent fff1550c11
commit 6921da4c3c
5 changed files with 84 additions and 57 deletions
@@ -216,9 +216,9 @@ object FoodModule {
} finally {
try {
// TODO 一定要记得关闭资源,为了不去性能的磨损
fos!!.flush()
`is`!!.close()
fos.close()
fos?.flush()
`is`?.close()
fos?.close()
} catch (e: IOException) {
e.printStackTrace()
}