Skip to content

Commit

Permalink
camera: fix use after free issue
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Dec 15, 2024
1 parent d9498b9 commit a9a603a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/plugins/camera/camera_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void CameraImpl::deinit()
_system_impl->cancel_all_param(this);

std::lock_guard lock(_mutex);
//_system_impl->remove_call_every(_request_missing_capture_info_cookie);
_system_impl->remove_call_every(_request_missing_capture_info_cookie);
_system_impl->remove_call_every(_request_slower_call_every_cookie);
_system_impl->remove_call_every(_request_faster_call_every_cookie);

Expand Down

0 comments on commit a9a603a

Please sign in to comment.