Browse Source

Fix loading multiple exported LV2 plugins

Signed-off-by: falkTX <falktx@gmail.com>
tags/v2.1-alpha1-winvst
falkTX 5 years ago
parent
commit
417d149a9a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/bridges-plugin/CarlaBridgeSingleLV2.cpp

+ 3
- 1
source/bridges-plugin/CarlaBridgeSingleLV2.cpp View File

@@ -711,10 +711,12 @@ const LV2UI_Descriptor* lv2ui_descriptor(uint32_t index)
{
carla_debug("lv2ui_descriptor(%i)", index);

static CarlaMutex retLock;
static CarlaString ret;

if (ret.isEmpty())
{
const CarlaMutexLocker cml(retLock);

using namespace water;
const File file(File::getSpecialLocation(File::currentExecutableFile).getSiblingFile("ext-ui"));
#ifdef CARLA_OS_WIN


Loading…
Cancel
Save