diff --git a/src/PiPedalModel.cpp b/src/PiPedalModel.cpp index 5c95a4e..010930b 100644 --- a/src/PiPedalModel.cpp +++ b/src/PiPedalModel.cpp @@ -351,6 +351,9 @@ void PiPedalModel::RemoveNotificationSubsription(std::shared_ptrGetEffect(pedalItemId); + if (!effect) { + return; + } if (effect->IsVst3()) { int index = lv2Pedalboard->GetControlIndex(pedalItemId, symbol);