This commit is contained in:
NoLogicAlan committed 2026-09-11 01:47:38 +03:00
1 parent f073b78449
commit 85c4bf4e8d
9 files changed
+475 -88

No files matched your search

+12
View File
@@ -132,6 +132,18 @@ const saveAndExit = async () => {
} catch (e) {
logger.error("[Shutdown] Failed to close Dashboard DB:", e.message);
}
try {
remix.gatewayHandler?.stop247Watchdog?.();
} catch (e) {
logger.warn("[Shutdown] Watchdog stop error:", e?.message);
}
try {
if (remix.settingsMgr?.shutdown) {
await remix.settingsMgr.shutdown();
}
} catch (e) {
logger.error("[Shutdown] Settings flush failed:", e.message);
}
process.exit(0);
};