Skip to content
Snippets Groups Projects
Commit 6326f6d0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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.
parent 6ed2240b
No related branches found
No related tags found
No related merge requests found
Pipeline #5793 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment