Crash guard: prevent loading of preset if it has caused crashes.

This commit is contained in:
Robin E. R. Davies
2025-07-21 12:09:27 -04:00
parent b60fbd18f0
commit 7f8b272504
8 changed files with 211 additions and 12 deletions
+3
View File
@@ -27,6 +27,7 @@
#include "AudioHost.hpp"
#include "Lv2EventBufferWriter.hpp"
#include "Lv2Log.hpp"
#include "CrashGuard.hpp"
using namespace pipedal;
@@ -401,6 +402,8 @@ void Lv2Pedalboard::UpdateAudioPorts()
void Lv2Pedalboard::Activate()
{
CrashGuardLock crashGuardLock;
for (int i = 0; i < this->effects.size(); ++i)
{
this->realtimeEffects[i]->Activate();