summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/SessionImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-01-22 10:58:20 +0000
committerGordon Sim <gsim@apache.org>2010-01-22 10:58:20 +0000
commit578ab4e8631e778bfdbb4f88b030314471394d53 (patch)
treeee64e14b131d3dfb2a73e2045efcab7f28ef7bfa /cpp/src/qpid/client/SessionImpl.cpp
parentaf58f5140110d2d8da38773a1b13f6e288f8fa56 (diff)
downloadqpid-python-578ab4e8631e778bfdbb4f88b030314471394d53.tar.gz
QPID-2347: Signal deletion of queue to active subscribers via a resource-deleted exception.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.cpp')
-rw-r--r--cpp/src/qpid/client/SessionImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp
index 0f767c9f2e..34589d59fc 100644
--- a/cpp/src/qpid/client/SessionImpl.cpp
+++ b/cpp/src/qpid/client/SessionImpl.cpp
@@ -558,6 +558,7 @@ void SessionImpl::detach(const std::string& _name)
setState(DETACHED);
QPID_LOG(info, "Session detached by peer: " << id);
proxy.detached(_name, DETACH_CODE_NORMAL);
+ handleClosed();
}
void SessionImpl::detached(const std::string& _name, uint8_t _code) {