6.6.2 - Alpha - 修复 dx 库在 Android 7.x 无法正常使用的问题 (issue #293)

This commit is contained in:
SuperMonster003
2025-01-12 12:34:27 +08:00
parent 5da132ab0b
commit b713bbcf84
8 changed files with 26 additions and 23 deletions

View File

@@ -60,12 +60,12 @@ class FinalSeg private constructor() {
values!![tokens[0][0]] = tokens[1].toDouble()
}
}
} catch (e: IOException) {
} catch (_: IOException) {
Log.error(String.format(Locale.getDefault(), "%s: load model failure!", PROB_EMIT))
} finally {
try {
`is`.close()
} catch (e: IOException) {
} catch (_: IOException) {
Log.error(String.format(Locale.getDefault(), "%s: close failure!", PROB_EMIT))
}
}