mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix LEDDeviceWrapper coredump when killing hyperiond
This commit is contained in:
parent
3ef037f6d7
commit
fc7d888845
@ -146,5 +146,5 @@ void LedDeviceWrapper::stopDeviceThread()
|
|||||||
QThread* oldThread = _ledDevice->thread();
|
QThread* oldThread = _ledDevice->thread();
|
||||||
delete _ledDevice; // fast desctruction
|
delete _ledDevice; // fast desctruction
|
||||||
oldThread->quit(); // non blocking
|
oldThread->quit(); // non blocking
|
||||||
oldThread->wait();
|
oldThread->wait();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user