Fix system stuck issue

Signed-off-by: jsj <jinsenjun@huawei.com>
Change-Id: Ic8879c47697f7af11ddd4603428fc816f1c738d8
This commit is contained in:
jsj
2022-01-14 09:35:11 +00:00
parent 586d17741c
commit 9aef694dfd
@@ -2913,6 +2913,7 @@ void AbilityStackManager::OnTimeOut(uint32_t msgId, int64_t eventId)
auto abilityRecord = GetAbilityRecordByEventId(eventId);
if (abilityRecord == nullptr) {
HILOG_ERROR("stack manager on time out event: ability record is nullptr.");
BackToLauncher();
return;
}