mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 21:33:48 +02:00
delete the lookup timeout timer once fired
This commit is contained in:
parent
f12e0b5fd0
commit
4cfe3941f4
1 changed files with 3 additions and 0 deletions
|
@ -827,6 +827,9 @@ void LimitedNodeList::startSTUNPublicSocketUpdate() {
|
|||
|
||||
connect(lookupTimeoutTimer, &QTimer::timeout, this, &LimitedNodeList::possiblyTimeoutSTUNAddressLookup);
|
||||
|
||||
// delete the lookup timeout timer once it has fired
|
||||
connect(lookupTimeoutTimer, &QTimer::timeout, lookupTimeoutTimer, &QTimer::deleteLater);
|
||||
|
||||
lookupTimeoutTimer->start(STUN_DNS_LOOKUP_TIMEOUT_MSECS);
|
||||
} else {
|
||||
_initialSTUNTimer->start();
|
||||
|
|
Loading…
Reference in a new issue