Browse Source

Catch exceptions during vst init

tags/1.9.7
falkTX 9 years ago
parent
commit
e27607298a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/backend/plugin/CarlaPluginVST2.cpp

+ 3
- 1
source/backend/plugin/CarlaPluginVST2.cpp View File

@@ -2103,7 +2103,9 @@ public:
sCurrentUniqueId = uniqueId;
sLastCarlaPluginVST2 = this;

fEffect = vstFn(carla_vst_audioMasterCallback);
try {
fEffect = vstFn(carla_vst_audioMasterCallback);
} CARLA_SAFE_EXCEPTION_RETURN("Vst init", false);

sLastCarlaPluginVST2 = nullptr;
sCurrentUniqueId = 0;


Loading…
Cancel
Save