Commit a446f187 authored by Pablo Arias's avatar Pablo Arias

Fixed deadlock by recursive mutex

parent 10895796
...@@ -62,7 +62,8 @@ public: ...@@ -62,7 +62,8 @@ public:
if (automatic_registration_) if (automatic_registration_)
{ {
register_logger(new_logger); throw_if_exists_(new_logger->name());
loggers_[new_logger->name()] = std::move(new_logger);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment