diff options
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.cpp')
-rw-r--r-- | cpp/src/qpid/client/SessionImpl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 57f12cf28e..4e3f6cdd98 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -518,6 +518,12 @@ void SessionImpl::flush(bool expected, bool confirmed, bool completed) void SessionImpl::sendCompletion() { + Lock l(state); + sendCompletionImpl(); +} + +void SessionImpl::sendCompletionImpl() +{ proxy.completed(completedIn, true); } |