pussuw commented on code in PR #8206:
URL: https://github.com/apache/nuttx/pull/8206#discussion_r1085151322


##########
libs/libc/stdlib/lib_exit.c:
##########
@@ -50,14 +50,25 @@ void exit(int status)
 {
   /* Run the registered exit functions */
 
-  atexit_call_exitfuncs(status);
+  atexit_call_exitfuncs(status, false);
 
   /* Flush all streams */
 
   fflush(NULL);
 
   /* Then perform the exit */
 
+  _Exit(status);

Review Comment:
   Maybe change this to back to _exit() ?



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