mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -04:00
added missing mutex protection that caused random SIGSEGV
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4433 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
20c44c4bca
commit
e4f89892a3
1 changed files with 5 additions and 4 deletions
|
@ -764,6 +764,7 @@ void p3disc::recvAskInfo(RsDiscAskInfo *item) {
|
||||||
std::cerr << "p3disc::recvAskInfo() From: " << item->PeerId();
|
std::cerr << "p3disc::recvAskInfo() From: " << item->PeerId();
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
RsStackMutex stack(mDiscMtx); /********** STACK LOCKED MTX ******/
|
||||||
|
|
||||||
std::list<std::string> &idList = sendIdList[item->PeerId()];
|
std::list<std::string> &idList = sendIdList[item->PeerId()];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue