summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Connection.cpp')
-rwxr-xr-xcppe/src/IceE/Connection.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/cppe/src/IceE/Connection.cpp b/cppe/src/IceE/Connection.cpp
index afe4a5210dd..4fe759eafdd 100755
--- a/cppe/src/IceE/Connection.cpp
+++ b/cppe/src/IceE/Connection.cpp
@@ -126,15 +126,7 @@ Ice::Connection::close(bool force)
// requests to be retried, regardless of whether the server
// has processed them or not.
//
- // For consistency, we also wait until batch requests have
- // completed, and, if this is a server connection, all
- // requests have been dispatched. These are the same criteria
- // that we use to determine whether ACM may close this
- // connection.
- //
- while(!_requests.empty() ||
- _batchStreamInUse || !_batchStream.b.empty() ||
- _dispatchCount != 0)
+ while(!_requests.empty())
{
wait();
}