diff options
author | Marc Laukien <marc@zeroc.com> | 2002-12-30 18:21:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-12-30 18:21:47 +0000 |
commit | 608d89d46a87ad33a89a613effa50b7d469ca5a1 (patch) | |
tree | 159450e09853fd06775f1d0a6828b77e32574c4e /cpp/src/Ice/Incoming.cpp | |
parent | more amd work (diff) | |
download | ice-608d89d46a87ad33a89a613effa50b7d469ca5a1.tar.bz2 ice-608d89d46a87ad33a89a613effa50b7d469ca5a1.tar.xz ice-608d89d46a87ad33a89a613effa50b7d469ca5a1.zip |
fixed shutdown problem with _dispatchCount
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 6 |
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 |