fix sigint

This commit is contained in:
Hri7566 2022-07-07 20:42:03 -04:00
parent 60723e0d98
commit 079a0ea840
1 changed files with 1 additions and 0 deletions

View File

@ -24,4 +24,5 @@ process.on('SIGINT', async () => {
if (!db.isClosed()) { if (!db.isClosed()) {
await db.close(); await db.close();
} }
process.exit();
}); });