Allow the metro to exit if this is the only active server in the event loop system

This commit is contained in:
Daniel García Aubert 2020-06-09 09:52:56 +02:00
parent 3583e064be
commit 6f9580bae2

View File

@ -115,4 +115,5 @@ http
res.writeHead(200, { 'Content-Type': register.contentType }); res.writeHead(200, { 'Content-Type': register.contentType });
res.end(register.metrics()); res.end(register.metrics());
}) })
.listen(port); .listen(port)
.unref();