mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix BGEffectHandler destruction
This commit is contained in:
@@ -43,6 +43,16 @@ public:
|
||||
handleSettingsUpdate(settings::BGEFFECT, _hyperion->getSetting(settings::BGEFFECT));
|
||||
}
|
||||
|
||||
///
|
||||
/// @brief Disconnect from connected signals
|
||||
/// Disconnect should be done before other priorities invoke methods during shutdown
|
||||
///
|
||||
void disconnect()
|
||||
{
|
||||
QObject::disconnect(_prioMuxer, &PriorityMuxer::prioritiesChanged, nullptr, nullptr);
|
||||
QObject::disconnect(_hyperion, nullptr, nullptr, nullptr);
|
||||
}
|
||||
|
||||
///
|
||||
/// @brief Check, if background effect processing is enabled.
|
||||
/// @return True, background effect processing is enabled.
|
||||
|
Reference in New Issue
Block a user