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

Infinite loop if action passed to every returns false #5

Open
NeoPhi opened this issue Aug 30, 2022 · 3 comments
Open

Infinite loop if action passed to every returns false #5

NeoPhi opened this issue Aug 30, 2022 · 3 comments

Comments

@NeoPhi
Copy link

NeoPhi commented Aug 30, 2022

The following line will cause an infinite loop if the action passed to every returns false.

return !result || list.length > 0;

As !result will be true even when the list is exhausted true will be passed to the pool indicating that is should keep looping.

@mividtim
Copy link

I just got bit by this.

@mividtim
Copy link

mividtim commented Aug 5, 2024

This is a pretty glaring bug. Is the maintainer active here?

@danielrentz
Copy link

I don't think so, no reaction on my issue report #3 either

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

3 participants