From 5fc5e58f7e6d4e716c65da84760669739daac1be Mon Sep 17 00:00:00 2001 From: Tim Schneeberger Date: Sun, 26 Mar 2023 00:12:19 +0100 Subject: [PATCH] fix: Close read pipe correctly --- .../rootlessjamesdsp/session/dump/utils/DumpUtils.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/session/dump/utils/DumpUtils.kt b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/session/dump/utils/DumpUtils.kt index e5136d55e..982fcb933 100644 --- a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/session/dump/utils/DumpUtils.kt +++ b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/session/dump/utils/DumpUtils.kt @@ -35,6 +35,7 @@ object DumpUtils { val reader = InputStreamReader(fd, "UTF-8") val dump = reader.readText() reader.close() + readPipe.close() fd.close() return dump }