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

[Context] Fix DBG message

The thread local currentContext was already set to nullptr when we
logged it. Use the right field instead.
parent 024ed667
No related branches found
No related tags found
1 merge request!318[Context] Fix DBG message
......@@ -27,6 +27,7 @@ auto operator<<(std::ostream& strm, const Context& context) -> std::ostream& {
// Can't use new context hook to communicate the context to free.
lastContextBeforeReturningToOriginalStack = currentContext;
currentContext = nullptr;
DBG("Switchting to original stack " << &originalStack << " from " << currentContext);
DBG("Switchting to original stack " << &originalStack << " from "
<< lastContextBeforeReturningToOriginalStack);
switch_and_load_context(&originalStack);
}
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