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

core: bugfix for clearing message handlers #466

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

julianoes
Copy link
Collaborator

This is a bugfix for a bug discovered by Jy.wang.
What happened is that when one plugin would want to clear all its
message handlers, the whole mavlink hander table gets cleared and all
other plugins and the core lose their handlers as well.

This bug only manifests itself in practice if you actually destroy a
plugin before others or the core which happens rarely since mostly
everything together is destroyed at the very end.

Fixes #464.

This is a bugfix for a bug discovered by Jy.wang.
What happened is that when one plugin would want to clear all its
message handlers, the whole mavlink hander table gets cleared and all
other plugins and the core lose their handlers as well.

This bug only manifests itself in practice if you actually destroy a
plugin before others or the core which happens rarely since mostly
everything together is destroyed at the very end.
@julianoes julianoes merged commit 8bab2d2 into develop Jul 25, 2018
@julianoes julianoes deleted the fix-message-handler-clear branch July 25, 2018 09:51
rt-2pm2 pushed a commit to rt-2pm2/DronecodeSDK that referenced this pull request Nov 27, 2018
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.

Unregister all mavlink message handlers
2 participants