File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rsocket-transport-netty/src/main/java/io/rsocket/transport/netty Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public final class TcpDuplexConnection extends BaseDuplexConnection {
49
49
public TcpDuplexConnection (Connection connection ) {
50
50
this .connection = Objects .requireNonNull (connection , "connection must not be null" );
51
51
52
- connection .channel ().closeFuture ().addListener (future -> sender .dispose ());
52
+ connection .channel ().closeFuture ().addListener (future -> sender .onComplete ());
53
53
54
54
connection
55
55
.outbound ()
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public final class WebsocketDuplexConnection extends BaseDuplexConnection {
53
53
public WebsocketDuplexConnection (Connection connection ) {
54
54
this .connection = Objects .requireNonNull (connection , "connection must not be null" );
55
55
56
- connection .channel ().closeFuture ().addListener (future -> sender .dispose ());
56
+ connection .channel ().closeFuture ().addListener (future -> sender .onComplete ());
57
57
58
58
connection
59
59
.outbound ()
You can’t perform that action at this time.
0 commit comments