ldap: server.close has a callback after all
This commit is contained in:
@@ -399,7 +399,7 @@ async function stop() {
|
||||
|
||||
debug('stopping server');
|
||||
|
||||
gServer.close(); // has no callback
|
||||
await util.promisify(gServer.close.bind(gServer));
|
||||
gServer = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user