mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 13:51:25 +02: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)
|
||||
}
|
||||
|
||||
// TODO: Is this needed? Closing of stream should be callers responsibility?
|
||||
inputStream.close()
|
||||
val hash = digest.digest()
|
||||
|
||||
|
Reference in New Issue
Block a user