summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ConnectionImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-03 18:42:37 +0000
committerGordon Sim <gsim@apache.org>2008-11-03 18:42:37 +0000
commit35be3fc7f95446e46d00ba37f37db97014b029b1 (patch)
tree4dae00cc2969aa692bb9431cab7cb271d50aad26 /cpp/src/qpid/client/ConnectionImpl.cpp
parenta95eb74d7f806e3a60bbd61a042329bcfba9b21d (diff)
downloadqpid-python-35be3fc7f95446e46d00ba37f37db97014b029b1.tar.gz
This line seems not to be as redundant as I thought! Its removal seems to trigger some leaks for some platforms/cases. Adding it back for now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@710124 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ConnectionImpl.cpp')
-rw-r--r--cpp/src/qpid/client/ConnectionImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.cpp b/cpp/src/qpid/client/ConnectionImpl.cpp
index a3be69e017..ed296cbd4d 100644
--- a/cpp/src/qpid/client/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/ConnectionImpl.cpp
@@ -129,6 +129,7 @@ void ConnectionImpl::close()
{
if (!handler.isOpen()) return;
handler.close();
+ closed(CLOSE_CODE_NORMAL, "Closed by client");
}