summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/SessionImpl.cpp
diff options
context:
space:
mode:
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) {