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
Branches
Tags
No related merge requests found
Pipeline #5793 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:07:46

avatar
Download artifacts

No artifacts found