| 44 | } |
| 45 | |
| 46 | StoreClient::StoreClient() { |
| 47 | static std::mutex monitor_mutex; |
| 48 | if (!global_storeclient_monitor_.get()) { |
| 49 | monitor_mutex.lock(); |
| 50 | if (!global_storeclient_monitor_.get()) { |
| 51 | global_storeclient_monitor_ = phxrpc::MonitorFactory::GetFactory() |
| 52 | ->CreateClientMonitor(GetPackageName()); |
| 53 | } |
| 54 | global_storeclient_config_.SetClientMonitor(global_storeclient_monitor_); |
| 55 | monitor_mutex.unlock(); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | StoreClient::~StoreClient() {} |
| 60 |
nothing calls this directly
no outgoing calls
no test coverage detected