Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future.after can lead to stack overflow errors with completed futures #28

Open
iconara opened this issue Jul 14, 2015 · 0 comments
Open

Comments

@iconara
Copy link
Owner

iconara commented Jul 14, 2015

When lots of futures are given to Future.after you can get a stack overflow error since each callback registers as a callback to the next future, and the call stack grows and grows as long as they are already resolved.

@iconara iconara changed the title Future.after can lead to stack overflow errors Future.after can lead to stack overflow errors with completed futures Jul 14, 2015
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

No branches or pull requests

1 participant