Fix crash when closing LV2 UIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@12067 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c9f09a10c4
commit
8b111ed224
@ -310,18 +310,18 @@ LV2PluginUI::lv2ui_free()
|
||||
|
||||
if (_gui_widget) {
|
||||
remove (*_gui_widget);
|
||||
_gui_widget = NULL;
|
||||
}
|
||||
|
||||
if (_ardour_buttons_box) {
|
||||
remove (*_ardour_buttons_box);
|
||||
delete _ardour_buttons_box;
|
||||
_ardour_buttons_box = 0;
|
||||
_ardour_buttons_box = NULL;
|
||||
}
|
||||
|
||||
if (_inst) {
|
||||
suil_instance_free((SuilInstance*)_inst);
|
||||
|
||||
_inst = NULL;
|
||||
_gui_widget = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
LV2PluginUI::~LV2PluginUI ()
|
||||
|
Loading…
Reference in New Issue
Block a user