summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-12-30 19:23:31 +0000
committerMarc Laukien <marc@zeroc.com>2002-12-30 19:23:31 +0000
commit526bca7a2dfbdda5edfcf4b02b79f5e1c7f49d16 (patch)
treef6cbf6bc84780dbb5b8920480dc40f5aec3f8405 /cpp/src
parentfixed shutdown problem with _dispatchCount (diff)
downloadice-526bca7a2dfbdda5edfcf4b02b79f5e1c7f49d16.tar.bz2
ice-526bca7a2dfbdda5edfcf4b02b79f5e1c7f49d16.tar.xz
ice-526bca7a2dfbdda5edfcf4b02b79f5e1c7f49d16.zip
fixed shutdown problem with _dispatchCount
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index 5387f1bf8c3..6868934d6a1 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -103,7 +103,7 @@ IceInternal::Connection::waitUntilFinished() const
{
IceUtil::Monitor<IceUtil::RecMutex>::Lock sync(*this);
- while(_transceiver)
+ while(_transceiver || _dispatchCount > 0)
{
wait();
}