Merge pull request #6672 from ctrlaltdavid/fix-nodelist-shutdown

Don't send a domain-server check in when shutting down
This commit is contained in:
Andrew Meadows 2015-12-30 08:43:19 -08:00
commit a5c19c04e5

View file

@ -234,6 +234,7 @@ void NodeList::addSetOfNodeTypesToNodeInterestSet(const NodeSet& setOfNodeTypes)
void NodeList::sendDomainServerCheckIn() {
if (_isShuttingDown) {
qCDebug(networking) << "Refusing to send a domain-server check in while shutting down.";
return;
}
if (_publicSockAddr.isNull()) {