mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-26 09:54:18 +01:00
Add a missing input.close() when an exception happens.
This commit is contained in:
parent
d3f2361803
commit
194b3084ae
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user