Skip to content

Commit

Permalink
fix: memory leak in server wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Jan 26, 2024
1 parent 9f2fb34 commit 8920f73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_server_native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class NativeHttpServer implements Server {
try {
const requestEvent = await httpConn.nextRequest();
if (requestEvent === null) {
server.#untrack(httpConn);
return;
}

Expand Down

0 comments on commit 8920f73

Please sign in to comment.