added missing mutex in idservice

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-05-31 17:31:40 +00:00
parent 4e9dab7e42
commit b2634280a5

View File

@ -601,6 +601,7 @@ bool p3IdService::requestKey(const RsGxsId &id, const std::list<PeerId> &peers)
bool p3IdService::isPendingNetworkRequest(const RsGxsId& gxsId) const
{
RsStackMutex stack(mIdMtx); /********** STACK LOCKED MTX ******/
// if ids has beens confirmed as not physically present return
// immediately, id will be removed from list if found by auto nxs net search
if(mIdsNotPresent.find(gxsId) != mIdsNotPresent.end())