anchao commented on code in PR #8066: URL: https://github.com/apache/nuttx/pull/8066#discussion_r1065604589
########## sched/group/group_leave.c: ########## @@ -156,12 +155,6 @@ static inline void group_release(FAR struct task_group_s *group) pthread_release(group); #endif -#ifdef CONFIG_FILE_STREAM - /* Free resource held by the stream list */ - - lib_stream_release(group); Review Comment: The life cycle of tg_info is related to task_init_info()/task_uninit_info(), merging them together is easier to understand and avoid such issue in the future -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org