mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-19 21:33:33 -04:00
Description: fix bug when app exit abnormally
IssueNo: https://gitee.com/openharmony/ace_engine_lite/issues/I54NXS Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: lancer <haoshuo@huawei.com>
This commit is contained in:
@@ -131,6 +131,7 @@ void JSAbility::Show()
|
|||||||
|
|
||||||
HILOG_INFO(HILOG_MODULE_ACE, "LIFECYCLE: JS Ability will be shown");
|
HILOG_INFO(HILOG_MODULE_ACE, "LIFECYCLE: JS Ability will be shown");
|
||||||
ACE_EVENT_PRINT(MT_ACE_FWK_ACTIVING, 0);
|
ACE_EVENT_PRINT(MT_ACE_FWK_ACTIVING, 0);
|
||||||
|
FatalHandler::GetInstance().SetExitingFlag(false);
|
||||||
JSAbilityImpl *jsAbilityImpl = CastAbilityImpl(jsAbilityImpl_);
|
JSAbilityImpl *jsAbilityImpl = CastAbilityImpl(jsAbilityImpl_);
|
||||||
jsAbilityImpl->Show();
|
jsAbilityImpl->Show();
|
||||||
AsyncTaskManager::GetInstance().SetFront(true);
|
AsyncTaskManager::GetInstance().SetFront(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user