Skip to content

Commit 2d230fa

Browse files
committed
fix: fix missing close invocation
1 parent a551a9e commit 2d230fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class API {
235235
}
236236

237237
async close() {
238-
await util.promisify(this.server.close).bind(this.server);
238+
await util.promisify(this.server.close).bind(this.server)();
239239
}
240240
}
241241

0 commit comments

Comments
 (0)