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
|
/// general Settings
|
||||||
/// * 'name' : The user friendly name of the hyperion instance (used for network things)
|
/// * '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.
|
/// * 'showOptHelp' : Show option expanations at the webui. Highly recommended for beginners.
|
||||||
"general" :
|
"general" :
|
||||||
{
|
{
|
||||||
"name" : "MyHyperionConfig",
|
"name" : "MyHyperionConfig",
|
||||||
"versionBranch" : "Stable",
|
|
||||||
"showOptHelp" : true
|
"showOptHelp" : true
|
||||||
},
|
},
|
||||||
/// set log level: silent warn verbose debug
|
/// set log level: silent warn verbose debug
|
||||||
|
@ -150,10 +150,10 @@ void LedDeviceWrapper::stopDeviceThread()
|
|||||||
QThread* oldThread = _ledDevice->thread();
|
QThread* oldThread = _ledDevice->thread();
|
||||||
disconnect(oldThread, 0, 0, 0);
|
disconnect(oldThread, 0, 0, 0);
|
||||||
oldThread->quit();
|
oldThread->quit();
|
||||||
oldThread->deleteLater();
|
oldThread->wait();
|
||||||
oldThread = nullptr;
|
delete oldThread;
|
||||||
|
|
||||||
disconnect(_ledDevice, 0, 0, 0);
|
disconnect(_ledDevice, 0, 0, 0);
|
||||||
_ledDevice->deleteLater();
|
delete _ledDevice;
|
||||||
_ledDevice = nullptr;
|
_ledDevice = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user