-
Notifications
You must be signed in to change notification settings - Fork 176
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
panic when using PinDriver.wait_for_low #506
Comments
These two lines look super-weird:
... because it seems as if
But given that you seem to be modeling |
Thanks for the help! Yes I did have |
Bug description
panic when using PinDriver.wait_for_low (or wait_for_high) and allocating in near by code.
Looking at the code it appears I need to use a special waker? If so it should be documented (or I missed it)
Stack trace of PinDriver panic:
Another stack trace that occurs less frequently that might be helpful.
I can allocate a couple of hours to fix if the best fix is clear and reasonably straight forward.
To Reproduce
Expected behavior
I should be able to await the state change without a panic.
Environment
The text was updated successfully, but these errors were encountered: