This commit is contained in:
Adhiraj
2020-03-16 16:30:53 +05:30
parent 3e1142a464
commit 9a963f4dcc
2 changed files with 4 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ const readline = require('readline').createInterface({
})
readline.question("type exit to disconnect\n", (txt) => {
if (txt === "exit") {
client.disconnect()
client.close()
process.exit(0)
}
})