mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 03:36:22 +02:00
make sure timer is owned
This commit is contained in:
parent
0aed08a006
commit
54972515dc
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy
|
|||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
nodeList->setOwnerType(nodeType);
|
||||
|
||||
_domainServerTimer = new QTimer();
|
||||
_domainServerTimer = new QTimer(this);
|
||||
connect(_domainServerTimer, SIGNAL(timeout()), this, SLOT(checkInWithDomainServerOrExit()));
|
||||
_domainServerTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
|
||||
|
||||
|
|
Loading…
Reference in a new issue