summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index ee9464c28a8..9589f724f43 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -668,7 +668,7 @@ FlushBatch::invoke()
// In this case, the exception should be set on the Outgoing.
//
Monitor<Mutex>::Lock sync(_monitor);
- while(!_exception.get())
+ while(!_exception.get() && !_sent)
{
_monitor.wait();
}