diff options
author | Alan Conway <aconway@apache.org> | 2008-05-27 18:38:06 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-05-27 18:38:06 +0000 |
commit | 63f68e2f68cafce3da7ca03113e6eddc38d405b3 (patch) | |
tree | f16d502dfe64ef9eb2d10a39151630f453d4c810 /cpp/src/qpid/client/Dispatcher.cpp | |
parent | 1ebc196ec0f6128e9f73f3aebb9a30d5436ef5c0 (diff) | |
download | qpid-python-63f68e2f68cafce3da7ca03113e6eddc38d405b3.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/client/Dispatcher.cpp')
-rw-r--r-- | cpp/src/qpid/client/Dispatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |