Commit 3f82d8b9 authored by Nolan Lawson's avatar Nolan Lawson Committed by Eugen Rochko

Gracefully stop streaming server (#4103)

parent 9fe6cfca
......@@ -467,6 +467,7 @@ const startWorker = (workerId) => {
const onExit = () => {
log.info(`Worker ${workerId} exiting, bye bye`);
server.close();
process.exit(0);
};
const onError = (err) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment