Skip to content

Commit 40c203c

Browse files
committed
Minor fix in STOMP broker relay
This is a backport for a change made as part of: 113fd11 Issue: SPR-11884
1 parent d18fc53 commit 40c203c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ public void afterConnectionClosed() {
648648
}
649649
finally {
650650
try {
651+
// Prevent clearConnection() from trying to close
652+
this.tcpConnection = null;
651653
clearConnection();
652654
}
653655
catch (Throwable t) {

0 commit comments

Comments
 (0)