mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
...
This commit is contained in:
1 parent
f073b78449
commit
85c4bf4e8d
9 files changed
+475
-88
No files matched your search
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user