From 73b6787c421bb0f7863c1a07dc8d439629e58b9a Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 24 Feb 2019 09:33:02 +0100 Subject: [PATCH] Fix deadlock when trying to get a input stream for file thats not in the current title --- src/de/mas/wiiu/jnus/DecryptionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/mas/wiiu/jnus/DecryptionService.java b/src/de/mas/wiiu/jnus/DecryptionService.java index 07e0fe7..0b31678 100644 --- a/src/de/mas/wiiu/jnus/DecryptionService.java +++ b/src/de/mas/wiiu/jnus/DecryptionService.java @@ -154,6 +154,7 @@ public final class DecryptionService { public void decryptFSTEntryToStream(FSTEntry entry, OutputStream outputStream) throws IOException, CheckSumWrongException { if (entry.isNotInPackage() || entry.getContent() == null) { + outputStream.close(); return; }