mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
check against NULL node from nodeWithUUID()
This commit is contained in:
parent
cea2f9414a
commit
5caaf0dc7f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ bool JurisdictionSender::process() {
|
|||
_nodesRequestingJurisdictions.pop();
|
||||
SharedNodePointer node = NodeList::getInstance()->nodeWithUUID(nodeUUID);
|
||||
|
||||
if (node->getActiveSocket() != NULL) {
|
||||
if (node && node->getActiveSocket() != NULL) {
|
||||
const HifiSockAddr* nodeAddress = node->getActiveSocket();
|
||||
_packetSender.queuePacketForSending(*nodeAddress, QByteArray(reinterpret_cast<char *>(bufferOut), sizeOut));
|
||||
nodeCount++;
|
||||
|
|
Loading…
Reference in a new issue