Fix LEDDeviceWrapper coredump when killing hyperiond

This commit is contained in:
LordGrey 2019-06-16 21:13:20 +02:00
parent a06b4b8067
commit 3ef037f6d7
1 changed files with 1 additions and 0 deletions

View File

@ -146,4 +146,5 @@ void LedDeviceWrapper::stopDeviceThread()
QThread* oldThread = _ledDevice->thread();
delete _ledDevice; // fast desctruction
oldThread->quit(); // non blocking
oldThread->wait();
}