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

telemetry: protect callbacks with mutex #1192

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

julianoes
Copy link
Collaborator

Early on I forgot to protect the callbacks from access by different threads. This could lead to segfaults when a callback is subscribed or unsubscribed while being executed.

Early on I forgot to protect the callbacks from access by different
threads. This could lead to segfaults when a callback is subscribed or
unsubscribed while being executed.
Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

Good catch!

@julianoes julianoes merged commit 894c297 into develop Sep 24, 2020
@julianoes julianoes deleted the pr-telemetry-callback-mutex branch September 24, 2020 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants