mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 23:42:43 +02:00
make node mutex in LimitedNodeList recursive for double read lock
This commit is contained in:
parent
eef5807fb4
commit
250a3de9fe
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ const QUrl DEFAULT_NODE_AUTH_URL = QUrl("https://data.highfidelity.io");
|
||||||
LimitedNodeList::LimitedNodeList(unsigned short socketListenPort, unsigned short dtlsListenPort) :
|
LimitedNodeList::LimitedNodeList(unsigned short socketListenPort, unsigned short dtlsListenPort) :
|
||||||
_sessionUUID(),
|
_sessionUUID(),
|
||||||
_nodeHash(),
|
_nodeHash(),
|
||||||
|
_nodeMutex(QReadWriteLock::Recursive),
|
||||||
_nodeSocket(this),
|
_nodeSocket(this),
|
||||||
_dtlsSocket(NULL),
|
_dtlsSocket(NULL),
|
||||||
_localSockAddr(),
|
_localSockAddr(),
|
||||||
|
|
Loading…
Reference in a new issue