Skip to content

Commit

Permalink
Merge pull request #31 from bitwiseman/master
Browse files Browse the repository at this point in the history
Replace last process.nextTick with setImmediate
  • Loading branch information
Evan Oxfeld committed Aug 26, 2013
2 parents 27b88f4 + 3f5d874 commit 91fd22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Parse.prototype._readEndOfCentralDirectoryRecord = function () {
.vars;

if (vars.commentLength) {
process.nextTick(function() {
setImmediate(function() {
self._pullStream.pull(vars.commentLength, function (err, comment) {
if (err) {
return self.emit('error', err);
Expand Down

0 comments on commit 91fd22d

Please sign in to comment.