all channels are socket channels
This commit is contained in:
parent
a3837e6010
commit
b5c1c48c4f
1 changed files with 1 additions and 3 deletions
|
@ -70,9 +70,7 @@ public class TwoPartyVatNetwork
|
|||
|
||||
var result = this.previousWrite.whenComplete((void_, exc) -> {
|
||||
try {
|
||||
if (this.channel instanceof AsynchronousSocketChannel) {
|
||||
((AsynchronousSocketChannel)this.channel).shutdownOutput();
|
||||
}
|
||||
this.channel.shutdownOutput();
|
||||
}
|
||||
catch (Exception ignored) {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue