Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
43b4c03c0f |
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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 };
|
Loading…
Reference in a new issue