summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Incoming.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r--cpp/src/Ice/Incoming.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp
index 0969df7488c..636a2862064 100644
--- a/cpp/src/Ice/Incoming.cpp
+++ b/cpp/src/Ice/Incoming.cpp
@@ -204,7 +204,11 @@ IceInternal::Incoming::invoke()
status = _servant->__dispatch(*this, _current);
}
- if(_is.b.empty()) // Asynchronous dispatch?
+ //
+ // In case of an asynchronous dispatch, _is is now empty,
+ // because an IncomingAsync has adopted this Incoming.
+ //
+ if(_is.b.empty())
{
//
// If this was an asynchronous dispatch, we're done