fix(linux): fix console control after exit
This commit is contained in:
@ -63,6 +63,7 @@ rl.on("SIGINT", function () {
|
||||
});
|
||||
|
||||
process.on("SIGINT", () => {
|
||||
rl.close()
|
||||
if(spider)
|
||||
{
|
||||
spider.stop(() => sphinx.stop(() => process.exit()))
|
||||
|
Reference in New Issue
Block a user