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) -> {
|
var result = this.previousWrite.whenComplete((void_, exc) -> {
|
||||||
try {
|
try {
|
||||||
if (this.channel instanceof AsynchronousSocketChannel) {
|
this.channel.shutdownOutput();
|
||||||
((AsynchronousSocketChannel)this.channel).shutdownOutput();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (Exception ignored) {
|
catch (Exception ignored) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue