fix: we'll try eliminating the SERVER.shutdown method and just use

`SERVER.stop` for everything
This commit is contained in:
Andy Burke 2025-07-23 22:25:00 -07:00
parent f63cb933dd
commit 0b5f0c5d5e
2 changed files with 2 additions and 6 deletions

View file

@ -92,10 +92,6 @@ export class SERVER {
this.handlers = [];
}
private shutdown() {
this.controller?.abort();
}
/**
* Start the server.
*
@ -181,7 +177,7 @@ export class SERVER {
}
);
this.shutdown_binding = this.shutdown.bind(this);
this.shutdown_binding = this.stop.bind(this);
Deno.addSignalListener('SIGTERM', this.shutdown_binding);
Deno.addSignalListener('SIGINT', this.shutdown_binding);