IssueNo:#I29BRN

Description:Change the exception error message to Panic to clarify what normal does not return.
Sig:kernel
Feature or Bugfix:Bugfix
Binary Source:No

Change-Id: Ie7087cafe709f79604831f6d3eefcee6fe48ccbb
This commit is contained in:
zhushengle 2021-03-24 16:36:12 +08:00
parent 996047a7e2
commit 9601ecc131
1 changed files with 1 additions and 3 deletions

View File

@ -287,9 +287,7 @@ LITE_OS_SEC_TEXT VOID OsTaskToExit(LosTaskCB *taskCB, UINT32 status)
if (taskCB->taskStatus & OS_TASK_FLAG_DETACHED) {
UINT32 ret = OsTaskDeleteUnsafe(taskCB, status, intSave);
if (ret != LOS_OK) {
PRINT_ERR("Task exit delete failed! ERROR : 0x%x\n", ret);
}
LOS_Panic("Task delete failed! ERROR : 0x%x\n", ret);
}
OsTaskJoinPostUnsafe(taskCB);