mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-11 07:36:44 +01:00
add TODO to investigate. Double closing of stream most often is ignored.
This commit is contained in:
@@ -93,6 +93,7 @@ abstract class OpCrypto internal constructor() : OpUnary() {
|
|||||||
count = inputStream.read(chunk, 0, 1048576)
|
count = inputStream.read(chunk, 0, 1048576)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Is this needed? Closing of stream should be callers responsibility?
|
||||||
inputStream.close()
|
inputStream.close()
|
||||||
val hash = digest.digest()
|
val hash = digest.digest()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user