mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix: leaking active effects during quit (#850)
This commit is contained in:
parent
485beab4f3
commit
45990f2726
@ -45,6 +45,11 @@ EffectEngine::EffectEngine(Hyperion * hyperion)
|
|||||||
|
|
||||||
EffectEngine::~EffectEngine()
|
EffectEngine::~EffectEngine()
|
||||||
{
|
{
|
||||||
|
for (Effect * effect : _activeEffects)
|
||||||
|
{
|
||||||
|
effect->wait();
|
||||||
|
delete effect;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString EffectEngine::saveEffect(const QJsonObject& obj)
|
QString EffectEngine::saveEffect(const QJsonObject& obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user