mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 00:42:38 +00:00
fix possible resource leak
This commit is contained in:
1 file changed
+1
-1
@@ -357,7 +357,7 @@ class ReleaseManager private constructor(
|
||||
}
|
||||
|
||||
private fun computeFileHash(file: File): String =
|
||||
file.source().buffer().readByteString().md5().hex()
|
||||
file.source().buffer().use { it.readByteString().md5().hex() }
|
||||
|
||||
private fun getGeodeOutputPath(): File {
|
||||
val geodeName = LaunchUtils.geodeFilename
|
||||
|
||||
Reference in new issue
Block a user