MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / processExit

Function processExit

panel/src/app.ts:73–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73async function processExit() {
74 try {
75 logger.warn($t("TXT_CODE_cea5dba1"));
76 logger.warn($t("TXT_CODE_b0aa2db9"));
77 } catch (err) {
78 logger.error(err);
79 } finally {
80 process.exit(0);
81 }
82}
83
84["SIGTERM", "SIGINT", "SIGQUIT"].forEach(function (sig) {
85 process.on(sig, () => {

Callers 1

app.tsFile · 0.85

Calls 3

$tFunction · 0.90
errorMethod · 0.80
exitMethod · 0.45

Tested by

no test coverage detected