added missing mutex lock.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-10-31 23:39:05 +00:00
parent f2884d580f
commit 812ddef40e

View File

@ -1368,6 +1368,8 @@ bool p3IdService::cache_start_load()
GxsTokenQueue::queueRequest(token, GXSIDREQ_CACHELOAD); GxsTokenQueue::queueRequest(token, GXSIDREQ_CACHELOAD);
std::set<RsGxsGroupId> groupIdSet; std::set<RsGxsGroupId> groupIdSet;
groupIdSet.insert(groupIds.begin(), groupIds.end()); groupIdSet.insert(groupIds.begin(), groupIds.end());
RsStackMutex stack(mIdMtx); /********** STACK LOCKED MTX ******/
mGroupsToCache.insert(std::make_pair(token, groupIdSet)); mGroupsToCache.insert(std::make_pair(token, groupIdSet));
} }
return 1; return 1;