mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 15:10:32 +00:00
unload i18n service when load i18n service but no request
Signed-off-by: sunyaozu <sunyaozu@huawei.com>
This commit is contained in:
parent
d057539947
commit
d428624ad5
@ -103,6 +103,7 @@ void I18nServiceAbility::OnStart()
|
||||
HiLog::Info(LABEL, "I18nServiceAbility Publish failed.");
|
||||
}
|
||||
handler = std::make_shared<AppExecFwk::EventHandler>(AppExecFwk::EventRunner::Create(true));
|
||||
UnloadI18nServiceAbility();
|
||||
}
|
||||
|
||||
void I18nServiceAbility::OnStop()
|
||||
|
Loading…
Reference in New Issue
Block a user