13
0

Patch from Nick to fix crash on closing a LV2 plugin

(#4794).


git-svn-id: svn://localhost/ardour2/branches/3.0@11764 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-03-27 21:08:11 +00:00
parent 1fc8dfa0fc
commit 5638dd0c17

View File

@ -68,8 +68,11 @@ LV2PluginUI::write_to_ui(void* controller,
const void* buffer)
{
LV2PluginUI* me = (LV2PluginUI*)controller;
suil_instance_port_event((SuilInstance*)me->_inst,
port_index, buffer_size, format, buffer);
if (me->_inst) {
suil_instance_port_event((SuilInstance*)me->_inst,
port_index, buffer_size, format, buffer);
}
}
void