diff options
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp index 8ee0c45e08c..edb0882ea61 100644 --- a/cpp/src/Ice/Incoming.cpp +++ b/cpp/src/Ice/Incoming.cpp @@ -215,17 +215,16 @@ IceInternal::Incoming::invoke(const ServantManagerPtr& servantManager) } // - // In case of an asynchronous dispatch, _is is now empty, - // because an IncomingAsync has adopted this Incoming. + // DispatchAsync is "pseudo dispatch status", used + // internally only to indicate async dispatch. // - if(_is.b.empty()) + if(status == DispatchAsync) { // // If this was an asynchronous dispatch, we're done - // here. We do *not* call __finishInvoke(), because the - // call is not finished yet. + // here. We do *not* call __finishInvoke(), because + // the call is not finished yet. // - assert(status == DispatchOK); return; } } |