fixed unlock of connMtx in p3ConnectMgr::netExtCheck

unlock was too early

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3288 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-07-13 14:03:05 +00:00
parent 31c9832978
commit 04366bc279

View File

@ -1014,8 +1014,6 @@ void p3ConnectMgr::netExtCheck()
IndicateConfigChanged(); /**** INDICATE MSG CONFIG CHANGED! *****/
}
connMtx.unlock(); /* UNLOCK MUTEX */
if (mNetFlags.mExtAddrOk)
{
#if defined(CONN_DEBUG_TICK) || defined(CONN_DEBUG_RESET)
@ -1038,6 +1036,7 @@ void p3ConnectMgr::netExtCheck()
#if defined(CONN_DEBUG_TICK) || defined(CONN_DEBUG_RESET)
std::cerr << "p3ConnectMgr::netExtCheck() Ext Unstable - Unreachable Check" << std::endl;
#endif
connMtx.unlock(); /* UNLOCK MUTEX */
netUnreachableCheck();
}
}