As the std::lock_guard instance had no name, it was destroyed at the end of the statement instead of the end of the method.
(cherry picked from commit d3b2b80c)
As the std::lock_guard instance had no name, it was destroyed at the end of the statement instead of the end of the method.
(cherry picked from commit d3b2b80c)