mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
fix: Properly clean up plugin features
This commit is contained in:
@@ -45,7 +45,7 @@ void* PluginSubCommandsFunctionHelper<T>::getSubCommands() {
|
||||
}
|
||||
|
||||
[[maybe_unused]] static auto& getFeaturesImpl() {
|
||||
static std::vector<hex::Feature> features;
|
||||
static hex::AutoReset<std::vector<hex::Feature>> features;
|
||||
return features;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user