Skip to content

Commit

Permalink
Merge #3592 into 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Jan 17, 2025
2 parents e8e984b + 2d473c7 commit ec49b3d
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,17 @@ static final class DisposedChannel extends AbstractChannel {
this.remoteAddress = actual.remoteAddress();
}

@Override
public ChannelFuture close() {
return newSucceededFuture();
}

@Override
public ChannelFuture close(ChannelPromise promise) {
promise.setSuccess();
return promise;
}

@Override
public ChannelFuture closeFuture() {
return newSucceededFuture();
Expand Down

0 comments on commit ec49b3d

Please sign in to comment.