Fix crash when removing an LV2 plugin or on shutdown.

git-svn-id: svn://localhost/ardour2/branches/3.0@12050 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2012-04-21 01:21:24 +00:00
parent c786e4f4a4
commit afe97dcc3a

View File

@ -222,6 +222,7 @@ LV2Plugin::init(void* c_plugin, framecnt_t rate)
_data_access_feature.URI = "http://lv2plug.in/ns/ext/data-access";
_make_path_feature.URI = LV2_STATE__makePath;
_work_schedule_feature.URI = LV2_WORKER__schedule;
_work_schedule_feature.data = NULL;
LilvPlugin* plugin = _impl->plugin;