diff options
| author | Alan Conway <aconway@apache.org> | 2008-05-13 19:33:43 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-05-13 19:33:43 +0000 |
| commit | 5084f670aab81b25958e489943e088aefd025655 (patch) | |
| tree | ed5d6dc0ddcfa6c9b294695df321a6696b4995ab /qpid/cpp/src | |
| parent | e0992fcd5dfceb2504fc8f3f6b9fce28035f37d4 (diff) | |
| download | qpid-python-5084f670aab81b25958e489943e088aefd025655.tar.gz | |
Added sync() to ensure all acks are receivd before exiting the Dispatcher loop.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@655983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/client/Dispatcher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/client/Dispatcher.cpp b/qpid/cpp/src/qpid/client/Dispatcher.cpp index 68e799918c..37b37d9077 100644 --- a/qpid/cpp/src/qpid/client/Dispatcher.cpp +++ b/qpid/cpp/src/qpid/client/Dispatcher.cpp @@ -91,6 +91,7 @@ void Dispatcher::run() } catch (const ClosedException&) { //ignore it and return } + session.sync(); // Make sure all our acks are received before returning. } void Dispatcher::stop() |
