Make sure the stream is closed properly
All checks were successful
PRs & Pushes / build (push) Successful in 1m36s
PRs & Pushes / test (push) Successful in 2m18s
PRs & Pushes / build-apidoc (push) Successful in 3m0s

This commit is contained in:
JeremyStar™ 2024-12-24 03:20:12 +01:00
parent 540afe8139
commit 1d83354511
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -47,7 +47,9 @@ class FileAccessStream internal constructor(val file: FileAccess) : FileStream(s
// -----> Closure
override fun closeStream() = Unit
override fun closeStream() {
inputStream.close()
}
// -----> Writing