clear domain settings on NodeList reset

This commit is contained in:
Stephen Birarda 2014-07-31 14:06:43 -07:00
parent 7860aa5b87
commit adcf45583e
2 changed files with 2 additions and 0 deletions

View file

@ -130,6 +130,7 @@ void DomainHandler::setIsConnected(bool isConnected) {
}
void DomainHandler::requestDomainSettings() const {
qDebug() << _settingsObject;
if (_settingsObject.isEmpty()) {
// setup the URL required to grab settings JSON
QUrl settingsJSONURL;

View file

@ -179,6 +179,7 @@ void NodeList::reset() {
// clear the domain connection information
_domainHandler.clearConnectionInfo();
_domainHandler.clearSettings();
// if we setup the DTLS socket, also disconnect from the DTLS socket readyRead() so it can handle handshaking
if (_dtlsSocket) {