process.exit()

This commit is contained in:
Jan 2020-12-27 14:42:22 +01:00
parent 955fe8c462
commit bace97c0f0

View file

@ -36,6 +36,7 @@ process.on('SIGINT', async () => {
await client.destroy();
} catch(e) {
logger.warn('Failed to destroy client');
process.exit();
}
logger.done('Logged out client, exiting.');