diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-14 00:20:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-06-14 00:20:31 +0000 |
commit | 52a1667cc24a5d41d3651ac02ecfa273056a8fe3 (patch) | |
tree | eb0f4952e1b501e7639a3f35cf913013703b48d1 /gtk2_ardour/lv2_plugin_ui.cc | |
parent | 25b79d5647573f7620da4a97c9977333805f4da6 (diff) |
remove lv2 GUI debugging, after confirming that LinuxDSP plugins close on plugin deletion or session exit
git-svn-id: svn://localhost/ardour2/branches/3.0@9727 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 467a3062b2..8624249351 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -264,26 +264,19 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) void LV2PluginUI::lv2ui_free() { - stop_updating(NULL); + stop_updating (0); if (_gui_widget) { remove (*_gui_widget); } #ifdef HAVE_SUIL - std::cerr << "Calling suil_instance_free() to clean up " - << (_lv2->is_external_ui() ? " external " : " internal ") - << "UI\n"; suil_instance_free((SuilInstance*)_inst); #else SLV2UIInstance inst = (SLV2UIInstance)_inst; const LV2UI_Descriptor* ui_desc = slv2_ui_instance_get_descriptor(inst); LV2UI_Handle ui_handle = slv2_ui_instance_get_handle(inst); - std::cerr << "Calling ui descriptor cleanup on " << ui_desc << " to clean up " - << (_lv2->is_external_ui() ? " external " : " internal ") - << "UI\n"; - if (ui_desc) { ui_desc->cleanup(ui_handle); } @@ -295,8 +288,6 @@ LV2PluginUI::lv2ui_free() LV2PluginUI::~LV2PluginUI () { - std::cerr << "LV2PluginUI destructor called" << std::endl; - if (_values) { delete[] _values; } |