Skip to content
Snippets Groups Projects
Commit a2880159 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[ContextManager] Actually use the MemoryManger

Even though the MemoryManager is enabled for the ContextManager per
default, it never was actually used due a logic bug. Squash that bug!
parent 76de0eec
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ void ContextManager::putFreeContext(Context* context) {
context->recordStackUsage();
}
if constexpr (!emper::CONTEXT_MANAGER_WITH_MEMORY_MANAGER) {
if constexpr (emper::CONTEXT_MANAGER_WITH_MEMORY_MANAGER) {
putMemory(context);
} else {
delete context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment