summaryrefslogtreecommitdiffstats
path: root/test/new_version.lv2/new_version.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-11 20:26:39 -0400
committerDavid Robillard <d@drobilla.net>2016-07-11 20:26:39 -0400
commit2f745fae447200b666c9f5810796d13a20fdf559 (patch)
tree37f5dde7f63fe36c70cf92a44f4b5835ea95aeac /test/new_version.lv2/new_version.c
parent05f9e858a5dd4b3a1ba5047aa703e55da70dcfdf (diff)
downloadlilv-2f745fae447200b666c9f5810796d13a20fdf559.tar.gz
lilv-2f745fae447200b666c9f5810796d13a20fdf559.tar.bz2
lilv-2f745fae447200b666c9f5810796d13a20fdf559.zip
Fully reset plugin struct when plugin is reloaded
This fixes a bug where, for example, after re-loading a plugin from a different bundle, the LilvPlugin would still report the old bundle. Also never replace a newer version with an older version when a bundle is loaded. Ignores the entire bundle if an older plugin than one loaded is found. This is tricky because the unit of loading/unloading is a bundle, and the unit of versioning is a plugin, but since having data from an old bundle still loaded seems like a bad idea, this seems like the most correct behaviour.
Diffstat (limited to 'test/new_version.lv2/new_version.c')
0 files changed, 0 insertions, 0 deletions