From 76d0f42479d8783f1ed7a5017e841754188d025f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2024 16:37:48 -0400 Subject: Explicitly destroy the world in LV2 plugin Makes no real difference, but avoids a seemingly unused variable. --- src/server/ingen_lv2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server') 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 -- cgit v1.2.1