mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
clear domain settings on NodeList reset
This commit is contained in:
parent
7860aa5b87
commit
adcf45583e
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue