From 75e73ddcd98f7843956f69b099711801169b8b32 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 10 Aug 2025 22:45:50 +0200 Subject: [PATCH] fix: Properly clean up plugin features --- lib/libimhex/include/hex/plugin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/include/hex/plugin.hpp b/lib/libimhex/include/hex/plugin.hpp index 92ecaf414..5c30650be 100644 --- a/lib/libimhex/include/hex/plugin.hpp +++ b/lib/libimhex/include/hex/plugin.hpp @@ -45,7 +45,7 @@ void* PluginSubCommandsFunctionHelper::getSubCommands() { } [[maybe_unused]] static auto& getFeaturesImpl() { - static std::vector features; + static hex::AutoReset> features; return features; }