Skip to content

Fixed a bug where queue processing could cause a stack overflow. - #117

Closed
nullobject wants to merge 1 commit into
caolan:masterfrom
nullobject:master
Closed

Fixed a bug where queue processing could cause a stack overflow.#117
nullobject wants to merge 1 commit into
caolan:masterfrom
nullobject:master

Conversation

@nullobject

Copy link
Copy Markdown

Hi there,

I fixed a bug in the async queue processing. The recursion in the #process method has the potential to cause a stack overflow if the queue is large. Using #nextTick resolves this issue.

Thanks for the great library.

* Use #nextTick instead of recursively calling #process.
@MauriceSchoenmakers

Copy link
Copy Markdown

had same issue please pull. (note: also if using push with async callback).

@caolan

caolan commented Jan 31, 2013

Copy link
Copy Markdown
Owner

Now fixed elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants