The thread local currentContext was already set to nullptr when we logged it. Use the right field instead.