We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76955f0 commit 8a41b41Copy full SHA for 8a41b41
rsocket-core/src/main/java/io/rsocket/resume/ResumableDuplexConnection.java
@@ -115,7 +115,7 @@ void initConnection(DuplexConnection nextConnection) {
115
frameReceivingSubscriber.dispose();
116
disposable.dispose();
117
Sinks.EmitResult result = onConnectionClosedSink.tryEmitNext(currentConnectionIndex);
118
- if (result.equals(Sinks.EmitResult.OK)) {
+ if (!result.equals(Sinks.EmitResult.OK)) {
119
logger.error("Failed to notify session of closed connection: {}", result);
120
}
121
})
0 commit comments