summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/Allocatable.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Allocatable.cpp b/cpp/src/IceGrid/Allocatable.cpp
index 2298fe82b8a..29c36b32450 100644
--- a/cpp/src/IceGrid/Allocatable.cpp
+++ b/cpp/src/IceGrid/Allocatable.cpp
@@ -269,7 +269,8 @@ Allocatable::release(const SessionIPtr& session, bool fromRelease)
allocatable = dequeueAllocationAttempt(request);
if(!allocatable)
{
- assert(_count == 0 && _requests.empty());
+ assert(_requests.empty());
+ assert(_count == 0);
_releasing = false;
notifyAll();
return;