mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 05:50:19 +02:00
ask QCoreApplication to quit when PacketTypeStopNode received
This commit is contained in:
parent
fe2775ca94
commit
4c93e395ad
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ void AssignmentClient::readPendingDatagrams() {
|
|||
if (senderSockAddr.getAddress() == QHostAddress::LocalHost ||
|
||||
senderSockAddr.getAddress() == QHostAddress::LocalHostIPv6) {
|
||||
qDebug() << "AssignmentClientMonitor at" << senderSockAddr << "requested stop via PacketTypeStopNode.";
|
||||
stopAssignmentClient();
|
||||
|
||||
QCoreApplication::quit();
|
||||
} else {
|
||||
qDebug() << "Got a stop packet from other than localhost.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue