mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
don't parent DS timer to object in another thread
This commit is contained in:
parent
500a96ee7c
commit
cc8ad868b8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy
|
|||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
nodeList->setOwnerType(nodeType);
|
||||
|
||||
_domainServerTimer = new QTimer(nodeList.data());
|
||||
_domainServerTimer = new QTimer;
|
||||
connect(_domainServerTimer, SIGNAL(timeout()), this, SLOT(checkInWithDomainServerOrExit()));
|
||||
_domainServerTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
|
||||
|
||||
|
|
Loading…
Reference in a new issue