-
Notifications
You must be signed in to change notification settings - Fork 37
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
SignalVecExt::flatten stops polling after first top-level item if the item is empty #81
Comments
Thanks for the report, but I'm having a hard time reproducing it. Could you give an example which fails? |
I apologize, I will provide code later, I am a bit short of time now. It will be something like (not tested):
The behavior in handling |
So, here is the code:
The If |
Sorry about the delay on this, I've been quite busy. Your example was helpful, and I've fixed this. |
If the first polled item of flatten is empty SignalVec, inner polling of this SignalVec ends with Pending, and therefore top-level poll loop does not continue. If top-level SignalVec contains more items in this situation, they are not polled immediately and wait until next wake up.
The text was updated successfully, but these errors were encountered: