From ddbad5ba3e5c98804490d323afc6b72997aa4ed8 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Wed, 10 Feb 2010 22:44:18 +0000 Subject: Add comment that destructor doesn't close connection; see QPID-2395 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@908706 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/client/Connection.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/client/Connection.h b/cpp/include/qpid/client/Connection.h index b5026d1135..4d92d4b804 100644 --- a/cpp/include/qpid/client/Connection.h +++ b/cpp/include/qpid/client/Connection.h @@ -71,11 +71,15 @@ class Connection public: /** - * Creates a connection object, but does not open the connection. + * Creates a Connection object, but does not open the connection. * @see open() */ QPID_CLIENT_EXTERN Connection(); + /** + * Destroys a Connection object but does not close the connection if it + * was open. @see close() + */ QPID_CLIENT_EXTERN ~Connection(); /** -- cgit v1.2.1