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

backend: fix crash in SubscribeCameraStatus #527

Merged
merged 3 commits into from Sep 2, 2018

Conversation

JonasVautherin
Copy link
Collaborator

Tested by @douglaswsilva.

@@ -704,6 +706,7 @@ class CameraServiceImpl final : public rpc::camera::CameraService::Service {

private:
Camera &_camera;
mutable std::mutex _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.

Why mutable? The method SubscribeCameraStatus is not const, or is it?

@JonasVautherin JonasVautherin merged commit bb4b9de into develop Sep 2, 2018
@JonasVautherin JonasVautherin deleted the fix-camera-status-crash branch September 2, 2018 01:14
rt-2pm2 pushed a commit to rt-2pm2/DronecodeSDK that referenced this pull request Nov 27, 2018
backend: fix crash in SubscribeCameraStatus
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