From 6370351821230dd3b3dbf07713eb28511ef03aa6 Mon Sep 17 00:00:00 2001 From: anuchandy Date: Tue, 14 May 2024 09:58:45 -0700 Subject: [PATCH] Close transport tail when freeing connection --- .../java/org/apache/qpid/proton/reactor/impl/IOHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java index e95384b55..64cfbd13b 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java @@ -327,6 +327,8 @@ public void run(Selectable selectable) { // Ignore } } + Transport transport = ((SelectableImpl)selectable).getTransport(); + transport.close_tail(); } };