raiden00pl opened a new pull request, #3828:
URL: https://github.com/apache/nuttx-apps/pull/3828

   ## Summary
   
   g_running was initialized to true only at load time and the signal handler 
sets it to false. NuttX does not re-initialize .data between runs of a builtin, 
so after one SIGINT/SIGTERM every later nxmbserver run in the same boot left 
the poll loop at once. Set g_running before connecting the signal handlers.
   
   ## Impact
   
   bugfix
   
   ## Testing
   
   detected by automate tests from https://github.com/railab/nuttx-testlab
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to