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 e93ea3e commit 1d13f2fCopy full SHA for 1d13f2f
src/com/rabbitmq/client/impl/AMQConnection.java
@@ -541,7 +541,7 @@ public void handleConnectionClose(Command closeCommand) {
541
} catch (IOException ioe) {
542
Utility.emptyStatement();
543
}
544
- setHeartbeat(0); // Do not try to send heartbeats after CloseOk
+ _heartbeatSender.shutdown(); // Do not try to send heartbeats after CloseOk
545
_brokerInitiatedShutdown = true;
546
Thread scw = new SocketCloseWait(sse);
547
scw.setName("AMQP Connection Closing Monitor " +
0 commit comments