mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-22 16:09:18 +01:00
Fix deadlock when trying to get a input stream for file thats not in the current title
This commit is contained in:
parent
8124bb28e1
commit
73b6787c42
@ -154,6 +154,7 @@ public final class DecryptionService {
|
|||||||
|
|
||||||
public void decryptFSTEntryToStream(FSTEntry entry, OutputStream outputStream) throws IOException, CheckSumWrongException {
|
public void decryptFSTEntryToStream(FSTEntry entry, OutputStream outputStream) throws IOException, CheckSumWrongException {
|
||||||
if (entry.isNotInPackage() || entry.getContent() == null) {
|
if (entry.isNotInPackage() || entry.getContent() == null) {
|
||||||
|
outputStream.close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user