Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <[email protected]>
  • Loading branch information
OlegDokuka committed Nov 17, 2022
1 parent 4f4452e commit 9722189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class TcpDuplexConnection extends BaseDuplexConnection {
public TcpDuplexConnection(Connection connection) {
this.connection = Objects.requireNonNull(connection, "connection must not be null");

connection.channel().closeFuture().addListener(future -> sender.dispose());
connection.channel().closeFuture().addListener(future -> sender.onComplete());

connection
.outbound()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public final class WebsocketDuplexConnection extends BaseDuplexConnection {
public WebsocketDuplexConnection(Connection connection) {
this.connection = Objects.requireNonNull(connection, "connection must not be null");

connection.channel().closeFuture().addListener(future -> sender.dispose());
connection.channel().closeFuture().addListener(future -> sender.onComplete());

connection
.outbound()
Expand Down

0 comments on commit 9722189

Please sign in to comment.