projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc8dfa
)
Patch from Nick to fix crash on closing a LV2 plugin
author
Carl Hetherington
<carl@carlh.net>
Tue, 27 Mar 2012 21:08:11 +0000
(21:08 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Tue, 27 Mar 2012 21:08:11 +0000
(21:08 +0000)
(#4794).
git-svn-id: svn://localhost/ardour2/branches/3.0@11764
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/lv2_plugin_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/lv2_plugin_ui.cc
b/gtk2_ardour/lv2_plugin_ui.cc
index 7947a8e7bff324cdd327fb77caf421013546848c..dec02a7ebc7b813143db229daa53b269158437ac 100644
(file)
--- a/
gtk2_ardour/lv2_plugin_ui.cc
+++ b/
gtk2_ardour/lv2_plugin_ui.cc
@@
-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