summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-01-18 16:02:21 +0000
committerGordon Sim <gsim@apache.org>2007-01-18 16:02:21 +0000
commit26d9c0a2d2fd354be5056f3848be3e33e3ac9361 (patch)
tree5ffa6aea54c328d31f90a11437c03d5ad5d79d74 /cpp
parent1fee539de064759dee7272156e5ee21434fa3949 (diff)
downloadqpid-python-26d9c0a2d2fd354be5056f3848be3e33e3ac9361.tar.gz
In case any channel is waiting for a response on termination of the connection, notify the response handler. (Fix to QPID-303).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497473 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/lib/client/ClientChannel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/lib/client/ClientChannel.cpp b/cpp/lib/client/ClientChannel.cpp
index 37aedd5607..af26990d8a 100644
--- a/cpp/lib/client/ClientChannel.cpp
+++ b/cpp/lib/client/ClientChannel.cpp
@@ -325,6 +325,7 @@ void Channel::stop(){
{
Monitor::ScopedLock l(dispatchMonitor);
closed = true;
+ responses.signalResponse(AMQMethodBody::shared_ptr());
dispatchMonitor.notify();
}
dispatcher.join();