mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +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);
|
||||
childNode->activateLocalSocket();
|
||||
|
||||
auto diePacket { NLPacket::create(PacketType::StopNode); }
|
||||
auto diePacket = NLPacket::create(PacketType::StopNode, 0);
|
||||
nodeList->sendPacket(diePacket, childNode);
|
||||
}
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ void AssignmentClientMonitor::readPendingDatagrams() {
|
|||
// tell unknown assignment-client 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue