about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--streaming/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/streaming/index.js b/streaming/index.js
index 6ee8baea8..c7e0de96c 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -467,6 +467,7 @@ const startWorker = (workerId) => {
   const onExit = () => {
     log.info(`Worker ${workerId} exiting, bye bye`);
     server.close();
+    process.exit(0);
   };
 
   const onError = (err) => {