Add a missing input.close() when an exception happens.

This commit is contained in:
Maschell 2019-04-19 10:45:01 +02:00
parent d3f2361803
commit 194b3084ae

View File

@ -79,6 +79,7 @@ public class WUDDiscReaderCompressed extends WUDDiscReader {
if (e.getMessage().equals("Pipe closed")) { if (e.getMessage().equals("Pipe closed")) {
break; break;
} else { } else {
input.close();
throw e; throw e;
} }
} }