We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b780b19 commit 6764cf6Copy full SHA for 6764cf6
2 files changed
.changeset/light-tigers-design.md
@@ -0,0 +1,5 @@
1
+---
2
+"@valtown/deno-http-worker": patch
3
4
+
5
+Don't close the pool (bugfix)
src/DenoHTTPWorker.ts
@@ -337,8 +337,6 @@ class denoHTTPWorker implements DenoHTTPWorker {
337
forceKill(this.#process.pid!);
338
}
339
340
- await this.#pool.close();
341
-
342
fs.rm(this.#socketFile).catch(() => {});
343
for (const onexit of this.#onexitListeners) {
344
onexit(code ?? 1, signal ?? "");
@@ -354,7 +352,6 @@ class denoHTTPWorker implements DenoHTTPWorker {
354
352
await new Promise<void>((res) => {
355
353
this.#process.on("exit", res);
356
});
357
358
359
360
async websocket(
0 commit comments