Fixed deadlock by recursive mutex
This commit is contained in:
parent
10895796b2
commit
a446f187c1
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user