mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 13:02:06 +02:00
Put flush timer on right thread without parenting
This commit is contained in:
parent
bd488f0196
commit
1ca30b688d
3 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ AssignmentClientApp::AssignmentClientApp(int argc, char* argv[]) :
|
|||
|
||||
QThread::currentThread()->setObjectName("main thread");
|
||||
|
||||
LogHandler::getInstance().setParent(this);
|
||||
LogHandler::getInstance().moveToThread(thread());
|
||||
LogHandler::getInstance().setupRepeatedMessageFlusher();
|
||||
|
||||
DependencyManager::registerInheritance<LimitedNodeList, NodeList>();
|
||||
|
|
|
@ -174,7 +174,7 @@ DomainServer::DomainServer(int argc, char* argv[]) :
|
|||
|
||||
LogUtils::init();
|
||||
|
||||
LogHandler::getInstance().setParent(this);
|
||||
LogHandler::getInstance().moveToThread(thread());
|
||||
LogHandler::getInstance().setupRepeatedMessageFlusher();
|
||||
|
||||
qDebug() << "Setting up domain-server";
|
||||
|
|
|
@ -1062,7 +1062,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
setProperty(hifi::properties::STEAM, (steamClient && steamClient->isRunning()));
|
||||
setProperty(hifi::properties::CRASHED, _previousSessionCrashed);
|
||||
|
||||
LogHandler::getInstance().setParent(this);
|
||||
LogHandler::getInstance().moveToThread(thread());
|
||||
LogHandler::getInstance().setupRepeatedMessageFlusher();
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue