mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:10:49 +02:00
fix unexpected null parameter to disconnect, closes, #2663
This commit is contained in:
parent
97e45e8fe5
commit
57567becc8
1 changed files with 4 additions and 2 deletions
|
@ -209,8 +209,10 @@ void NodeList::reset() {
|
||||||
// clear the domain connection information
|
// clear the domain connection information
|
||||||
_domainHandler.clearConnectionInfo();
|
_domainHandler.clearConnectionInfo();
|
||||||
|
|
||||||
// also disconnect from the DTLS socket readyRead() so it can handle handshaking
|
// if we setup the DTLS socket, also disconnect from the DTLS socket readyRead() so it can handle handshaking
|
||||||
disconnect(_dtlsSocket, 0, this, 0);
|
if (_dtlsSocket) {
|
||||||
|
disconnect(_dtlsSocket, 0, this, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeList::addNodeTypeToInterestSet(NodeType_t nodeTypeToAdd) {
|
void NodeList::addNodeTypeToInterestSet(NodeType_t nodeTypeToAdd) {
|
||||||
|
|
Loading…
Reference in a new issue