summary refs log tree commit diff
path: root/src/bundle/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundle/Server.ts')
-rw-r--r--src/bundle/Server.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bundle/Server.ts b/src/bundle/Server.ts

index 96f6a149..119bb52b 100644 --- a/src/bundle/Server.ts +++ b/src/bundle/Server.ts
@@ -39,6 +39,9 @@ const gateway = new Gateway.Server({ server, port, production }); process.on("SIGTERM", async () => { console.log("Shutting down due to SIGTERM"); + await gateway.stop(); + await cdn.stop(); + await api.stop(); server.close(); Sentry.close(); });