Author: gsim
Date: Thu Jan 18 08:02:21 2007
New Revision: 497473
URL: http://svn.apache.org/viewvc?view=rev&rev=497473
Log:
In case any channel is waiting for a response on termination of the connection,
notify the response handler. (Fix to QPID-303).
Modified:
incubator/qpid/branches/qpid.0-9/cpp/lib/client/ClientChannel.cpp
Modified: incubator/qpid/branches/qpid.0-9/cpp/lib/client/ClientChannel.cpp
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/cpp/lib/client/ClientChannel.cpp?view=diff&rev=497473&r1=497472&r2=497473
==============================================================================
--- incubator/qpid/branches/qpid.0-9/cpp/lib/client/ClientChannel.cpp (original)
+++ incubator/qpid/branches/qpid.0-9/cpp/lib/client/ClientChannel.cpp Thu Jan
18 08:02:21 2007
@@ -325,6 +325,7 @@
{
Monitor::ScopedLock l(dispatchMonitor);
closed = true;
+ responses.signalResponse(AMQMethodBody::shared_ptr());
dispatchMonitor.notify();
}
dispatcher.join();