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

Potential deadlock in MAVServer #3

Open
peterkrull opened this issue Dec 17, 2024 · 0 comments
Open

Potential deadlock in MAVServer #3

peterkrull opened this issue Dec 17, 2024 · 0 comments

Comments

@peterkrull
Copy link
Contributor

MAV_REQUEST.send(MavRequest::Stop { id }).await;

The writer_inner is the one receiving values from the channel, but here it is also producing. It can happen that another task fills up the buffer before reaching this line, causing it to wait for more room in the channel, which there will never be

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