summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-11 17:23:45 +0000
committerDavid Robillard <d@drobilla.net>2008-10-11 17:23:45 +0000
commitb35105b4c4ee3c7fedc23cb5f6a663c18156e9f9 (patch)
treef82b6ca8d6f47d136e37341869e5940009bd249a /src/gui
parent460d15f72adae3100370c2f0242c788fce6895fd (diff)
downloadingen-b35105b4c4ee3c7fedc23cb5f6a663c18156e9f9.tar.gz
ingen-b35105b4c4ee3c7fedc23cb5f6a663c18156e9f9.tar.bz2
ingen-b35105b4c4ee3c7fedc23cb5f6a663c18156e9f9.zip
Fix yet another missing lock on RDF stuff (moderately likely crash on patch import with ingen -eg).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1636 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 97edaa84..0a24b39f 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -110,6 +110,8 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> n
void
NodeModule::show_human_names(bool b)
{
+ Glib::Mutex::Lock lock(App::instance().world()->rdf_world->mutex());
+
if (b && node()->plugin())
set_name(((PluginModel*)node()->plugin())->human_name());
else