mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:57:29 +02:00
don't overlock in killNodeWithUUID
This commit is contained in:
parent
c336d235bf
commit
64921c38b6
1 changed files with 2 additions and 1 deletions
|
@ -392,8 +392,9 @@ void LimitedNodeList::killNodeWithUUID(const QUuid& nodeUUID) {
|
||||||
|
|
||||||
_nodeMutex.unlock();
|
_nodeMutex.unlock();
|
||||||
|
|
||||||
QWriteLocker writeLocker(&_nodeMutex);
|
_nodeMutex.lockForWrite();
|
||||||
_nodeHash.unsafe_erase(it);
|
_nodeHash.unsafe_erase(it);
|
||||||
|
_nodeMutex.unlock();
|
||||||
|
|
||||||
handleNodeKill(matchingNode);
|
handleNodeKill(matchingNode);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue