summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ConnectionImpl.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-26 21:46:00 +0000
committerAlan Conway <aconway@apache.org>2008-05-26 21:46:00 +0000
commit42bac9eab5cc800807a3fa2d8e6c30d5888b209e (patch)
tree891845ca754e823c683ff8a888bf1fef66c2ff93 /cpp/src/qpid/client/ConnectionImpl.cpp
parentaaa31ef665147973b3367110db9c0810fb144d9e (diff)
downloadqpid-python-42bac9eab5cc800807a3fa2d8e6c30d5888b209e.tar.gz
Fixed intermittent leak of client::Connector thread.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660320 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, 0 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.cpp b/cpp/src/qpid/client/ConnectionImpl.cpp
index bdafa795c2..81eda0bffb 100644
--- a/cpp/src/qpid/client/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/ConnectionImpl.cpp
@@ -138,7 +138,6 @@ void ConnectionImpl::closed(uint16_t code, const std::string& text)
SessionVector save;
{
Mutex::ScopedLock l(lock);
- if (isClosed) return;
save = closeInternal(l);
}
std::for_each(save.begin(), save.end(), boost::bind(&SessionImpl::connectionClosed, _1, code, text));