mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
changes in LEDDeviceWrapper::stopDeviceThread() reversed
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
parent
e6c2e7ebf9
commit
d40aa71aa9
@ -6,12 +6,10 @@
|
||||
{
|
||||
/// general Settings
|
||||
/// * 'name' : The user friendly name of the hyperion instance (used for network things)
|
||||
/// * 'versionBranch' : Which branch should be used for hyperion version
|
||||
/// * 'showOptHelp' : Show option expanations at the webui. Highly recommended for beginners.
|
||||
"general" :
|
||||
{
|
||||
"name" : "MyHyperionConfig",
|
||||
"versionBranch" : "Stable",
|
||||
"showOptHelp" : true
|
||||
},
|
||||
/// set log level: silent warn verbose debug
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user