save delay
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
jusax23 2023-02-26 14:42:43 +01:00
parent 1764a99129
commit 43b4c03c0f
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "nman", "name": "nman",
"version": "1.0.1", "version": "1.0.2",
"description": "", "description": "",
"main": "dist/nman.js", "main": "dist/nman.js",
"types": "dist/nman.d.ts", "types": "dist/nman.d.ts",

View file

@ -49,7 +49,7 @@ export const shutdown = async () => {
const tasks = prios[i][1]; const tasks = prios[i][1];
await Promise.allSettled(tasks.map(t => shutdownSingle(t))); await Promise.allSettled(tasks.map(t => shutdownSingle(t)));
} }
process.exit(0); setTimeout(() => process.exit(0), 500);
}; };
export default { shutdown, addShutdownTask }; export default { shutdown, addShutdownTask };