Skip to content

Commit 91fd22d

Browse files
author
Evan Oxfeld
committed
Merge pull request #31 from bitwiseman/master
Replace last process.nextTick with setImmediate
2 parents 27b88f4 + 3f5d874 commit 91fd22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Parse.prototype._readEndOfCentralDirectoryRecord = function () {
265265
.vars;
266266

267267
if (vars.commentLength) {
268-
process.nextTick(function() {
268+
setImmediate(function() {
269269
self._pullStream.pull(vars.commentLength, function (err, comment) {
270270
if (err) {
271271
return self.emit('error', err);

0 commit comments

Comments
 (0)