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

mavlink: Link the life cycle of the threads to the channel #315

Conversation

joaoantoniocardoso
Copy link
Collaborator

Replaces #314

May help #310

Note that the handle_message now is not concurrent because we need to
await it's answer.
self.heartbeat_handle.abort();
self.messages_handle.abort();
super::manager::Manager::drop_id(self.inner.component.component_id)
if !self.heartbeat_handle.is_finished() || !self.messages_handle.is_finished() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not fix the issue compared with #314.
Change this if to a while and you'll see.

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. here that doesn't happen... Then I'm afraid I can't effectively validate the other as well.

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

Successfully merging this pull request may close these issues.

None yet

2 participants