Permalink
Browse files

Merge pull request #9 from masumsoft/master

Replacing process.nextTick with setImmediate
  • Loading branch information...
2 parents 3cd274c + d63b875 commit 7dae91b6243a45d4b7ef1c4179facd43feb9b188 @nickewing committed Jul 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/line_reader.js
View
@@ -127,7 +127,7 @@
open(filename, function(reader) {
function newRead() {
if (reader.hasNextLine()) {
- process.nextTick(readNext);
+ setImmediate(readNext);
} else {
finish();
}

0 comments on commit 7dae91b

Please sign in to comment.