Fix "Timers cannot be stopped from another thread" during shutdown (#876)

This commit is contained in:
LordGrey
2020-07-19 15:13:41 +02:00
committed by GitHub
parent c85b4c530c
commit 45303e1b64
4 changed files with 5 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ bool HyperionIManager::startInstance(const quint8& inst, const bool& block)
if(!_runningInstances.contains(inst) && !_startQueue.contains(inst))
{
QThread* hyperionThread = new QThread();
hyperionThread->setObjectName("HyperionIManagerThread");
hyperionThread->setObjectName("HyperionThread");
Hyperion* hyperion = new Hyperion(inst);
hyperion->moveToThread(hyperionThread);
// setup thread management