update services/src/i18n_service_ability.cpp.

dfx

Signed-off-by: Maozu <wangkexin14@huawei.com>
This commit is contained in:
Maozu 2024-02-04 10:08:01 +00:00 committed by Gitee
parent 9e4d8c26a3
commit c3818ddb54
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -77,7 +77,6 @@ I18nErrorCode I18nServiceAbility::RemovePreferredLanguage(int32_t index)
void I18nServiceAbility::UnloadI18nServiceAbility()
{
HiLog::Info(LABEL, "I18nServiceAbility::UnloadI18nServiceAbility ready to unload after 10 seconds.");
if (handler != nullptr) {
handler->RemoveTask(UNLOAD_TASK);
}