From f3dd323daa3026b715b9d43218e6e0b14b86cd09 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 10 Dec 2023 20:46:29 +0800 Subject: [PATCH] WIP --- backend/dockge-server.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/dockge-server.ts b/backend/dockge-server.ts index f2eb50a..a55ecc3 100644 --- a/backend/dockge-server.ts +++ b/backend/dockge-server.ts @@ -605,6 +605,13 @@ export class DockgeServer { Settings.stopCacheCleaner(); } + /** + * Final function called before application exits + */ + finalFunction() { + log.info("server", "Graceful shutdown successful!"); + } + /** * Force connected sockets of a user to refresh and disconnect. * Used for resetting password.