From 4c0cd2acb827108fb9abc4a5715a6dc61820636c Mon Sep 17 00:00:00 2001 From: "Robin E. R. Davies" Date: Fri, 15 Nov 2024 14:00:44 -0500 Subject: [PATCH] SEGV when plugin not created. --- src/PiPedalModel.cpp | 3 +++ 1 file changed, 3 insertions(+) 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);