-
Notifications
You must be signed in to change notification settings - Fork 118
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 on unreachable code on disconnect #260
Comments
Here is an explanation of the Lines 178 to 187 in 13fcb83
that causes the panic here: Line 244 in 13fcb83
So the question is why is Line 222 in 13fcb83
called when it must not 🤔 |
Here we are: tokio-modbus/src/service/rtu.rs Lines 51 to 52 in 13fcb83
@uklotzde I think that |
@seritools Thanks for reporting! The issue should be resolved now in v0.13.1 |
Hi there, just updated from 0.11 to 0.13 in my toy project.
Now receiving this panic on
Context::disconnect()
at cleanup time:I'm using rtu and am on Windows. I can reproduce it with this minimal code:
Please let me know if you need more information! Thanks!
The text was updated successfully, but these errors were encountered: