Subj : src/sbbs3/websrvr.c To : Git commit to main/sbbs/master From : Rob Swindell (on Windows 11) Date : Tue Feb 13 2024 11:38 pm https://gitlab.synchro.net/main/sbbs/-/commit/6326f6d0d33019f5af7b31fb Modified Files: src/sbbs3/websrvr.c Log Message: Set javascript callback "terminated" flag to true when recycling (or terminating) the server. This will allow background JS threads to terminate when recycling, so the server doesn't just hang indefinitelyi when recycling. Add more logging in cleanup() when waiting for children threads to terminate. Also, eliminate the global 'terminate' variable, answering the question: Can this be changed to a if(ws_set!=NULL) check instead? Yes, yes it can. .