1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-28 08:52:40 +08:00

Fixed deadlock by recursive mutex

This commit is contained in:
Pablo Arias 2018-11-10 17:38:23 +01:00
parent 10895796b2
commit a446f187c1

View File

@ -62,7 +62,8 @@ public:
if (automatic_registration_)
{
register_logger(new_logger);
throw_if_exists_(new_logger->name());
loggers_[new_logger->name()] = std::move(new_logger);
}
}