Make sure the stream is closed properly
This commit is contained in:
parent
540afe8139
commit
1d83354511
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ class FileAccessStream internal constructor(val file: FileAccess) : FileStream(s
|
||||||
|
|
||||||
|
|
||||||
// -----> Closure
|
// -----> Closure
|
||||||
override fun closeStream() = Unit
|
override fun closeStream() {
|
||||||
|
inputStream.close()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// -----> Writing
|
// -----> Writing
|
||||||
|
|
Loading…
Reference in a new issue