From b17ea7f64cf3eb42c4614aa57508a7aaca132807 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 14 Oct 2008 18:21:50 +0000 Subject: 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 --- cpp/src/qpid/client/ConnectionImpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/client/ConnectionImpl.cpp') 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; -- cgit v1.2.1