diff --git a/src/cpp/ripple/TaggedCache.h b/src/cpp/ripple/TaggedCache.h index 03999099b..f71f135d0 100644 --- a/src/cpp/ripple/TaggedCache.h +++ b/src/cpp/ripple/TaggedCache.h @@ -131,6 +131,7 @@ template int TaggedCache::getTra template void TaggedCache::clear() { + boost::recursive_mutex::scoped_lock sl(mLock); mCache.clear(); mCacheCount = 0; }