Fix IOException when trying to close already-closed output stream
This commit is contained in:
parent
6e40c7dc17
commit
125eefed6e
|
@ -301,7 +301,11 @@ public class ExternalSOP implements SOP {
|
|||
}
|
||||
|
||||
standardIn.close();
|
||||
processOut.close();
|
||||
try {
|
||||
processOut.close();
|
||||
} catch (IOException e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
while ((r = processIn.read(buf)) > 0) {
|
||||
outputStream.write(buf, 0 , r);
|
||||
|
|
Loading…
Reference in New Issue