mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
reset NodeList if there is domain silence
This commit is contained in:
parent
466ea12d0f
commit
e4a9e429e0
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ void Client::setupNetworking() {
|
||||||
|
|
||||||
// TODO: once the Client knows its Address on start-up we should be able to immediately send a check in here
|
// TODO: once the Client knows its Address on start-up we should be able to immediately send a check in here
|
||||||
domainCheckInTimer->start();
|
domainCheckInTimer->start();
|
||||||
|
|
||||||
|
// handle the case where the domain stops talking to us
|
||||||
|
// TODO: can we just have the nodelist do this when it sets up? Is there a user of the NodeList that wouldn't want this?
|
||||||
|
connect(nodeList.data(), &NodeList::limitOfSilentDomainCheckInsReached, nodeList.data(), &NodeList::reset);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::processDatagrams() {
|
void Client::processDatagrams() {
|
||||||
|
|
Loading…
Reference in a new issue