Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #9 from masumsoft/master

Replacing process.nextTick with setImmediate
  • Loading branch information...
commit 7dae91b6243a45d4b7ef1c4179facd43feb9b188 2 parents 3cd274c + d63b875
@nickewing authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/line_reader.js
View
2  lib/line_reader.js
@@ -127,7 +127,7 @@
open(filename, function(reader) {
function newRead() {
if (reader.hasNextLine()) {
- process.nextTick(readNext);
+ setImmediate(readNext);
} else {
finish();
}
Please sign in to comment.
Something went wrong with that request. Please try again.