From 26d9c0a2d2fd354be5056f3848be3e33e3ac9361 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 18 Jan 2007 16:02:21 +0000 Subject: 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 --- cpp/lib/client/ClientChannel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/lib/client/ClientChannel.cpp') 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(); -- cgit v1.2.1