summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ConnectionImpl.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-10-14 18:21:50 +0000
committerAlan Conway <aconway@apache.org>2008-10-14 18:21:50 +0000
commitb17ea7f64cf3eb42c4614aa57508a7aaca132807 (patch)
tree3f79c52e3b96a19cb0ce6b591b5ea64284c41cad /cpp/src/qpid/client/ConnectionImpl.cpp
parent8ec6597d5372ccebb689483b8074085f278022e1 (diff)
downloadqpid-python-b17ea7f64cf3eb42c4614aa57508a7aaca132807.tar.gz
Bug fixes for client-side failover.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704596 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 5d4723b442..bb3517f839 100644
--- a/cpp/src/qpid/client/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/ConnectionImpl.cpp
@@ -150,6 +150,7 @@ void ConnectionImpl::closed(uint16_t code, const std::string& text) {
static const std::string CONN_CLOSED("Connection closed by broker");
void ConnectionImpl::shutdown() {
+
Mutex::ScopedLock l(lock);
if (handler.isClosed()) return;