Remove unneeded logging.
This commit is contained in:
parent
bcfc2a7dc1
commit
ebae9298a6
@ -128,7 +128,7 @@ void CountryInfoManager::tear_down() {
|
|||||||
|
|
||||||
std::lock_guard<std::mutex> country_lock(country_mutex_);
|
std::lock_guard<std::mutex> country_lock(country_mutex_);
|
||||||
manager_count_--;
|
manager_count_--;
|
||||||
if (manager_count_ == 0) {
|
if (manager_count_ == 0 && !countries_.empty()) {
|
||||||
LOG(INFO) << "Clear country info";
|
LOG(INFO) << "Clear country info";
|
||||||
countries_.clear();
|
countries_.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user