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 3721a06 commit f003db3
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 @@ -91,7 +91,7 @@ class ProxyServer {
}

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 f003db3

Please sign in to comment.