Merge pull request #572 from Lord-Grey/master
Fix LEDDeviceWrapper coredump when killing hyperiond
This commit is contained in:
commit
d8bf18b99e
|
@ -146,4 +146,5 @@ void LedDeviceWrapper::stopDeviceThread()
|
|||
QThread* oldThread = _ledDevice->thread();
|
||||
delete _ledDevice; // fast desctruction
|
||||
oldThread->quit(); // non blocking
|
||||
oldThread->wait();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue