bugID:20246360:[linkkit] sync some fix from aos1.3.4(about hal,example,netmgr)
@@ -287,9 +287,7 @@ void HAL_ThreadDetach(_IN_ void *thread_handle)
void HAL_ThreadDelete(_IN_ void *thread_handle)
{
- if (thread_handle) {
- /*can`t delete other task*/
- } else {
+ if (!thread_handle) {
aos_task_exit(0);
}
}
