mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed deadlock by recursive mutex
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user