fix conflict

This commit is contained in:
gabime 2019-08-19 11:33:39 +03:00
commit 6d8cc30f12
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ struct async_factory_impl
auto &registry_inst = details::registry::instance();
// create global thread pool if not already exists..
auto &mutex = registry_inst.tp_mutex();
std::lock_guard<std::recursive_mutex> tp_lock(mutex);
auto tp = registry_inst.get_tp();