server: close all connections
without this the server still holds on to active connections in node 18
This commit is contained in:
@@ -483,6 +483,7 @@ async function stop() {
|
||||
if (!gHttpServer) return;
|
||||
|
||||
await platform.uninitialize();
|
||||
gHttpServer.closeAllConnections();
|
||||
await util.promisify(gHttpServer.close.bind(gHttpServer))();
|
||||
|
||||
gHttpServer = null;
|
||||
|
||||
Reference in New Issue
Block a user