close curl before process.on 'exit'
This commit is contained in:
parent
90f3135c8c
commit
f6bfa11f6e
2 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
return stream.on('end', function() {
|
||||
var _this = this;
|
||||
p("----");
|
||||
curl.close();
|
||||
p("deleting " + cookieFile);
|
||||
return fs.unlink(cookieFile, function() {
|
||||
return p("done.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue