pussuw commented on code in PR #6197:
URL: https://github.com/apache/incubator-nuttx/pull/6197#discussion_r878690795


##########
libs/libc/stdlib/lib_exit.c:
##########
@@ -39,9 +39,9 @@ void exit(int status)
 {
   atexit_call_exitfuncs(status);
 
-  /* REVISIT: Need to flush files and streams */
+  /* Call nx_exit() which will do the rest of the clean up and exit */
 
-  _exit(status);
+  nx_exit(status);

Review Comment:
   Every mode, it's a bug that currently is masked by what kernel side exit() 
does



-- 
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

Reply via email to