diff options
| author | Alan Conway <aconway@apache.org> | 2008-05-26 21:46:00 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-05-26 21:46:00 +0000 |
| commit | 42bac9eab5cc800807a3fa2d8e6c30d5888b209e (patch) | |
| tree | 891845ca754e823c683ff8a888bf1fef66c2ff93 /cpp/src/qpid/client/ConnectionImpl.h | |
| parent | aaa31ef665147973b3367110db9c0810fb144d9e (diff) | |
| download | qpid-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.h')
| -rw-r--r-- | cpp/src/qpid/client/ConnectionImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/ConnectionImpl.h b/cpp/src/qpid/client/ConnectionImpl.h index ac28a0f695..655bca359b 100644 --- a/cpp/src/qpid/client/ConnectionImpl.h +++ b/cpp/src/qpid/client/ConnectionImpl.h @@ -74,6 +74,7 @@ class ConnectionImpl : public Bounds, ~ConnectionImpl(); void open(const std::string& host, int port); + bool isOpen() const { return !isClosed && !isClosing; } void addSession(const boost::shared_ptr<SessionImpl>&); |
