mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 15:43:17 +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
|
||||
_domainHandler.clearConnectionInfo();
|
||||
|
||||
// also disconnect from the DTLS socket readyRead() so it can handle handshaking
|
||||
disconnect(_dtlsSocket, 0, this, 0);
|
||||
// if we setup the DTLS socket, also disconnect from the DTLS socket readyRead() so it can handle handshaking
|
||||
if (_dtlsSocket) {
|
||||
disconnect(_dtlsSocket, 0, this, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void NodeList::addNodeTypeToInterestSet(NodeType_t nodeTypeToAdd) {
|
||||
|
|
Loading…
Reference in a new issue