From 63f68e2f68cafce3da7ca03113e6eddc38d405b3 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 27 May 2008 18:38:06 +0000 Subject: Tighten up sync-correctness in SubscriptionManager & Dispatcher. Add a flush to SessionBase_0_10::sync() so it syncs in both directions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660643 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Dispatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/Dispatcher.cpp') diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp index 0bd0cb9d08..5028d68405 100644 --- a/cpp/src/qpid/client/Dispatcher.cpp +++ b/cpp/src/qpid/client/Dispatcher.cpp @@ -89,7 +89,7 @@ void Dispatcher::run() } } } - sync(session).sync(); // Make sure all our acks are received before returning. + session.sync(); // Make sure all our acks are received before returning. } catch (const ClosedException&) {} //ignore it and return catch (const std::exception& e) { -- cgit v1.2.1