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

Fix race in camera backend #531

Merged
merged 2 commits into from Sep 4, 2018
Merged

Fix race in camera backend #531

merged 2 commits into from Sep 4, 2018

Conversation

JonasVautherin
Copy link
Collaborator

You know what I mean.

Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

🤞

@julianoes julianoes changed the title Fix race in camera Fix race in camera backend Sep 3, 2018
@@ -626,6 +630,7 @@ class CameraServiceImpl final : public rpc::camera::CameraService::Service {
translateSettingOptions(setting_option, rpc_setting_option);
}

std::lock_guard<std::mutex> lock(_subscribe_camera_status_mutex);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess you should rename the mutex at this point.

@julianoes julianoes merged commit 888f1e2 into develop Sep 4, 2018
@julianoes julianoes deleted the fix-race-in-camera branch September 4, 2018 17:59
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.

None yet

2 participants