summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PluginModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PluginModel.cpp')
-rw-r--r--src/libs/client/PluginModel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp
index 1e6729d6..10c767ff 100644
--- a/src/libs/client/PluginModel.cpp
+++ b/src/libs/client/PluginModel.cpp
@@ -28,6 +28,8 @@ namespace Client {
SLV2World PluginModel::_slv2_world = NULL;
SLV2Plugins PluginModel::_slv2_plugins = NULL;
#endif
+
+Raul::RDF::World* PluginModel::_rdf_world = NULL;
string
@@ -56,6 +58,8 @@ PluginModel::gui()
{
assert(_type == LV2);
+ Glib::Mutex::Lock(_rdf_world->mutex());
+
SLV2Values gui = slv2_plugin_get_guis(_slv2_plugin);
if (slv2_values_size(gui) > 0) {
printf("\tGUI:\n");