ObjectBox数据库操作增加线程资源清理

This commit is contained in:
2026-03-12 17:25:23 +08:00
parent e50d6ceb60
commit baee019444
@@ -151,6 +151,9 @@ object ObjectBox {
e.printStackTrace()
LogSaveUtil.saveLogFile("safeDbOp出现其它异常:${e.message}")
null
} finally {
// 线程资源清理
boxStore?.closeThreadResources()
}
}
}