mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
f2884d580f
commit
812ddef40e
@ -1368,6 +1368,8 @@ bool p3IdService::cache_start_load()
|
||||
GxsTokenQueue::queueRequest(token, GXSIDREQ_CACHELOAD);
|
||||
std::set<RsGxsGroupId> groupIdSet;
|
||||
groupIdSet.insert(groupIds.begin(), groupIds.end());
|
||||
|
||||
RsStackMutex stack(mIdMtx); /********** STACK LOCKED MTX ******/
|
||||
mGroupsToCache.insert(std::make_pair(token, groupIdSet));
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user