mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
fix: ImNodes not being deinitialized correctly
This commit is contained in:
@@ -25,7 +25,10 @@ namespace hex::plugin::builtin {
|
||||
ctx->AttributeFlagStack = GImNodes->AttributeFlagStack;
|
||||
|
||||
return ctx;
|
||||
}(), ImNodes::DestroyContext };
|
||||
}(), [](ImNodesContext *ptr) {
|
||||
if (ptr != nullptr)
|
||||
ImNodes::DestroyContext(ptr);
|
||||
} };
|
||||
|
||||
std::list<std::unique_ptr<dp::Node>> nodes;
|
||||
std::list<dp::Node*> endNodes;
|
||||
|
||||
Reference in New Issue
Block a user