don't overlock in killNodeWithUUID

This commit is contained in:
Stephen Birarda 2015-03-31 16:25:22 -07:00
parent c336d235bf
commit 64921c38b6

View file

@ -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 {