Skip to content

Commit

Permalink
fix: fix missing close invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Nov 1, 2023
1 parent a551a9e commit 2d230fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class API {
}

async close() {
await util.promisify(this.server.close).bind(this.server);
await util.promisify(this.server.close).bind(this.server)();
}
}

Expand Down

0 comments on commit 2d230fa

Please sign in to comment.