mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Update async.h
This commit is contained in:
parent
db1babab5e
commit
76aa1059cd
@ -40,7 +40,7 @@ struct async_factory_impl
|
||||
auto ®istry_inst = details::registry::instance();
|
||||
|
||||
// create global thread pool if not already exists..
|
||||
auto& mutex = registry_inst.tp_mutex();
|
||||
auto& mutex = registry_inst.tp_mutex();
|
||||
std::lock_guard<std::recursive_mutex> tp_lock(mutex);
|
||||
auto tp = registry_inst.get_tp();
|
||||
if (tp == nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user