process.exit()
This commit is contained in:
parent
955fe8c462
commit
bace97c0f0
1
index.js
1
index.js
|
@ -36,6 +36,7 @@ process.on('SIGINT', async () => {
|
||||||
await client.destroy();
|
await client.destroy();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
logger.warn('Failed to destroy client');
|
logger.warn('Failed to destroy client');
|
||||||
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.done('Logged out client, exiting.');
|
logger.done('Logged out client, exiting.');
|
||||||
|
|
Loading…
Reference in a new issue