diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Ice/LocatorInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp index 4842d17ca3f..265e97ba351 100644 --- a/cpp/src/Ice/LocatorInfo.cpp +++ b/cpp/src/Ice/LocatorInfo.cpp @@ -402,8 +402,8 @@ IceInternal::LocatorInfo::clearCache(const ReferencePtr& ref) if(!ref->adapterId.empty()) { vector<EndpointPtr> endpoints = _table->removeAdapterEndpoints(ref->adapterId); - assert(!endpoints.empty()); - if(ref->instance->traceLevels()->location >= 2) + + if(!endpoints.empty() && ref->instance->traceLevels()->location >= 2) { trace("removed endpoints from locator table", ref, endpoints); } |