提交 9601ecc1 编写于 作者: 星e雨's avatar 星e雨

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
上级 996047a7
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册