Remove unneeded logging.

This commit is contained in:
levlam 2021-10-06 13:10:28 +03:00
parent bcfc2a7dc1
commit ebae9298a6

View File

@ -128,7 +128,7 @@ void CountryInfoManager::tear_down() {
std::lock_guard<std::mutex> country_lock(country_mutex_);
manager_count_--;
if (manager_count_ == 0) {
if (manager_count_ == 0 && !countries_.empty()) {
LOG(INFO) << "Clear country info";
countries_.clear();
}