mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
changes in LEDDeviceWrapper::stopDeviceThread() reversed
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
@@ -150,10 +150,10 @@ void LedDeviceWrapper::stopDeviceThread()
|
||||
QThread* oldThread = _ledDevice->thread();
|
||||
disconnect(oldThread, 0, 0, 0);
|
||||
oldThread->quit();
|
||||
oldThread->deleteLater();
|
||||
oldThread = nullptr;
|
||||
oldThread->wait();
|
||||
delete oldThread;
|
||||
|
||||
disconnect(_ledDevice, 0, 0, 0);
|
||||
_ledDevice->deleteLater();
|
||||
delete _ledDevice;
|
||||
_ledDevice = nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user