mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +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();
|
||||
|
||||
QWriteLocker writeLocker(&_nodeMutex);
|
||||
_nodeMutex.lockForWrite();
|
||||
_nodeHash.unsafe_erase(it);
|
||||
_nodeMutex.unlock();
|
||||
|
||||
handleNodeKill(matchingNode);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue