Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Keep LV2 UIs and their dependent libs mapped
This works around an issue with supercollider's VST host and
dynamically linked plugins using libs with static initialization.
(e.g. pango font-cache, or gobject)
  • Loading branch information
x42 committed Sep 2, 2019
1 parent 1081994 commit e5b1716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lv2vstui.cc
Expand Up @@ -54,7 +54,7 @@ Lv2VstUI::Lv2VstUI (LV2Vst* effect)
return;
}

_lib_handle = open_lv2_lib (desc->gui_path);
_lib_handle = open_lv2_lib (desc->gui_path, true);
const LV2UI_Descriptor* (*lv2ui_descriptor)(uint32_t index) =
(const LV2UI_Descriptor* (*)(uint32_t)) x_dlfunc (_lib_handle, "lv2ui_descriptor");

Expand Down

0 comments on commit e5b1716

Please sign in to comment.