typo: invoke the function
This commit is contained in:
@@ -707,6 +707,6 @@ async function start() {
|
||||
async function stop() {
|
||||
if (!gServer) return;
|
||||
|
||||
await util.promisify(gServer.close.bind(gServer));
|
||||
await util.promisify(gServer.close.bind(gServer))();
|
||||
gServer = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user