Crash guard: prevent loading of preset if it has caused crashes.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "PiPedalException.hpp"
|
||||
#include "DummyAudioDriver.hpp"
|
||||
#include "SchedulerPriority.hpp"
|
||||
#include "CrashGuard.hpp"
|
||||
|
||||
#include "CpuUse.hpp"
|
||||
|
||||
@@ -1595,6 +1596,8 @@ namespace pipedal
|
||||
throw PiPedalStateException("Unable to start ALSA capture.");
|
||||
}
|
||||
|
||||
CrashGuardLock crashGuardLock;
|
||||
|
||||
cpuUse.SetStartTime(cpuUse.Now());
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user