summaryrefslogtreecommitdiff
path: root/qpid/java/common
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-05-13 12:55:20 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-05-13 12:55:20 +0000
commit5672c2d7dd7455d69497f47ca152f04665d8e25f (patch)
tree93f63bdc9af07131403e5029889a3b3f3f629b39 /qpid/java/common
parent1d704d2784463bc43826806df7cc9e59045d432e (diff)
downloadqpid-python-5672c2d7dd7455d69497f47ca152f04665d8e25f.tar.gz
This is a fix for QPID-1854
I have added a sender.close() inside the closed() method in the Connection.java This ensures the sender is closed and the IoSender thread is shutdown gracefully. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@774305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/transport/Connection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/transport/Connection.java b/qpid/java/common/src/main/java/org/apache/qpid/transport/Connection.java
index e0f239b566..4615b46066 100644
--- a/qpid/java/common/src/main/java/org/apache/qpid/transport/Connection.java
+++ b/qpid/java/common/src/main/java/org/apache/qpid/transport/Connection.java
@@ -438,6 +438,7 @@ public class Connection extends ConnectionInvoker
ssn.closed();
}
+ sender.close();
sender = null;
setState(CLOSED);
}