diff options
-rw-r--r-- | src/client/PluginUI.cpp | 6 | ||||
-rw-r--r-- | src/gui/NodeModule.cpp | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index b19211e6..097ba1b0 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -109,8 +109,10 @@ PluginUI::PluginUI(Ingen::Shared::World* world, PluginUI::~PluginUI() { - Glib::Mutex::Lock lock(PluginModel::rdf_world()->mutex()); - slv2_ui_instance_free(_instance); + if (_instance) { + Glib::Mutex::Lock lock(PluginModel::rdf_world()->mutex()); + slv2_ui_instance_free(_instance); + } } diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index a2db6f83..853bdf03 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -328,7 +328,7 @@ NodeModule::popup_gui() return true; } else { - warn << "No LV2 GUI for " << _node->path() << endl; + warn << "No LV2 GUI for " << _node->path().chop_scheme() << endl; } } #endif |