mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:49:12 +02:00
CR fixes in AssignmentClientMonitor
This commit is contained in:
parent
f879ea2f35
commit
abfda21814
1 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ void AssignmentClientMonitor::checkSpares() {
|
||||||
SharedNodePointer childNode = nodeList->nodeWithUUID(aSpareId);
|
SharedNodePointer childNode = nodeList->nodeWithUUID(aSpareId);
|
||||||
childNode->activateLocalSocket();
|
childNode->activateLocalSocket();
|
||||||
|
|
||||||
auto diePacket { NLPacket::create(PacketType::StopNode); }
|
auto diePacket = NLPacket::create(PacketType::StopNode, 0);
|
||||||
nodeList->sendPacket(diePacket, childNode);
|
nodeList->sendPacket(diePacket, childNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,7 @@ void AssignmentClientMonitor::readPendingDatagrams() {
|
||||||
// tell unknown assignment-client child to exit.
|
// tell unknown assignment-client child to exit.
|
||||||
qDebug() << "asking unknown child to exit.";
|
qDebug() << "asking unknown child to exit.";
|
||||||
|
|
||||||
auto diePacket { NL::create(PacketType::StopNode); }
|
auto diePacket = NL::create(PacketType::StopNode, 0);
|
||||||
nodeList->sendPacket(diePacket, childNode);
|
nodeList->sendPacket(diePacket, childNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue