mirror of https://github.com/zlatinb/muwire
reset instead of close
parent
cc5ece5103
commit
77caaf83de
|
@ -34,7 +34,7 @@ class Endpoint implements Closeable {
|
|||
try {outputStream.close()} catch (Exception ignore) {}
|
||||
}
|
||||
if (toClose != null) {
|
||||
try {toClose.close()} catch (Exception ignore) {}
|
||||
try {toClose.reset()} catch (Exception ignore) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue