Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
43b4c03c0f |
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "nman",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "",
|
||||
"main": "dist/nman.js",
|
||||
"types": "dist/nman.d.ts",
|
||||
|
|
|
@ -49,7 +49,7 @@ export const shutdown = async () => {
|
|||
const tasks = prios[i][1];
|
||||
await Promise.allSettled(tasks.map(t => shutdownSingle(t)));
|
||||
}
|
||||
process.exit(0);
|
||||
setTimeout(() => process.exit(0), 500);
|
||||
};
|
||||
|
||||
export default { shutdown, addShutdownTask };
|
Loading…
Reference in a new issue