make node mutex in LimitedNodeList recursive for double read lock

This commit is contained in:
Stephen Birarda 2015-01-15 13:34:33 -08:00
parent eef5807fb4
commit 250a3de9fe

View file

@ -41,6 +41,7 @@ const QUrl DEFAULT_NODE_AUTH_URL = QUrl("https://data.highfidelity.io");
LimitedNodeList::LimitedNodeList(unsigned short socketListenPort, unsigned short dtlsListenPort) :
_sessionUUID(),
_nodeHash(),
_nodeMutex(QReadWriteLock::Recursive),
_nodeSocket(this),
_dtlsSocket(NULL),
_localSockAddr(),