From b35105b4c4ee3c7fedc23cb5f6a663c18156e9f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Oct 2008 17:23:45 +0000 Subject: 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 --- src/gui/NodeModule.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/NodeModule.cpp') 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 canvas, SharedPtr 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 -- cgit v1.2.1