ldap: server.close has a callback after all

This commit is contained in:
Girish Ramakrishnan
2024-01-23 10:37:59 +01:00
parent 81e21effa4
commit d2c21627de
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ async function stop() {
debug('stopping server');
gServer.close(); // has no callback
await util.promisify(gServer.close.bind(gServer));
gServer = null;
}