diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 16:37:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-06 18:40:03 -0400 |
commit | 76d0f42479d8783f1ed7a5017e841754188d025f (patch) | |
tree | 10b0bb4ed10bf5b22d2fae5e1e26a631178af5d8 /src | |
parent | bd7539c85d1edea8c2d1fd3fb884e8bff4ecd285 (diff) | |
download | ingen-76d0f42479d8783f1ed7a5017e841754188d025f.tar.gz ingen-76d0f42479d8783f1ed7a5017e841754188d025f.tar.bz2 ingen-76d0f42479d8783f1ed7a5017e841754188d025f.zip |
Explicitly destroy the world in LV2 plugin
Makes no real difference, but avoids a seemingly unused variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/ingen_lv2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 424a2d7f..bb9780ca 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -672,6 +672,7 @@ ingen_cleanup(LV2_Handle instance) auto world = std::move(me->world); delete me; + world.reset(); } static void |