diff options
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r-- | cpp/src/Ice/RoutingTable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp index 1d89afc5f73..b9ed35d9a92 100644 --- a/cpp/src/Ice/RoutingTable.cpp +++ b/cpp/src/Ice/RoutingTable.cpp @@ -30,6 +30,8 @@ IceInternal::RoutingTable::RoutingTable() : void IceInternal::RoutingTable::clear() { + IceUtil::Mutex::Lock sync(*this); + _table.clear(); _tableHint = _table.end(); } |