Browse Source

Do not take context lock when loading patch via UI

tags/22.02
falkTX 3 years ago
parent
commit
ad5429cfbb
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/CardinalUI.cpp

+ 3
- 1
src/CardinalUI.cpp View File

@@ -491,7 +491,9 @@ protected:
if (filename == nullptr) if (filename == nullptr)
return; return;


const ScopedContext sc(this);
// we cannot lock here
// const ScopedContext sc(this);
rack::contextSet(fContext);
fContext->patch->loadAction(filename); fContext->patch->loadAction(filename);
} }




Loading…
Cancel
Save