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

@@ -14,8 +14,8 @@
const int PriorityMuxer::LOWEST_PRIORITY = std::numeric_limits<uint8_t>::max();
PriorityMuxer::PriorityMuxer(int ledCount)
: QObject()
PriorityMuxer::PriorityMuxer(int ledCount, QObject * parent)
: QObject(parent)
, _log(Logger::getInstance("HYPERION"))
, _currentPriority(PriorityMuxer::LOWEST_PRIORITY)
, _manualSelectedPriority(256)