diff --git a/src/dockerproxy.js b/src/dockerproxy.js index f466f72c4..0b72abde8 100644 --- a/src/dockerproxy.js +++ b/src/dockerproxy.js @@ -184,6 +184,7 @@ async function start() { async function stop() { if (!gHttpServer) return; + gHttpServer.closeAllConnections(); await util.promisify(gHttpServer.close.bind(gHttpServer))(); gHttpServer = null; }